diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 04:12:55 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-25 04:24:06 -0500 |
commit | 8a0ebee658862bec66191df192c1d3b09bf0c943 (patch) | |
tree | 4e714c457a1130fcbb2b2f79f26c23ebd0db77d5 /sim/iq2000/model.c | |
parent | 91d6df784db745df2b0a6827de8306246083bc94 (diff) | |
download | gdb-8a0ebee658862bec66191df192c1d3b09bf0c943.zip gdb-8a0ebee658862bec66191df192c1d3b09bf0c943.tar.gz gdb-8a0ebee658862bec66191df192c1d3b09bf0c943.tar.bz2 |
sim: move MACH/MODEL types into SIM_xxx namespace
The "MACH" and "MODEL" names are a bit generic and collide with symbols
used by other sections of code (like h8300's opcodes). Since these are
sim-specific types, they really should have a "SIM_" prefix.
Diffstat (limited to 'sim/iq2000/model.c')
-rw-r--r-- | sim/iq2000/model.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/iq2000/model.c b/sim/iq2000/model.c index a759451..2255c68 100644 --- a/sim/iq2000/model.c +++ b/sim/iq2000/model.c @@ -2509,7 +2509,7 @@ iq2000_model_init (SIM_CPU *cpu) #define TIMING_DATA(td) 0 #endif -static const MODEL iq2000_models[] = +static const SIM_MODEL iq2000_models[] = { { "iq2000", & iq2000_mach, MODEL_IQ2000, TIMING_DATA (& iq2000_timing[0]), iq2000_model_init }, { 0 } @@ -2517,7 +2517,7 @@ static const MODEL iq2000_models[] = /* The properties of this cpu's implementation. */ -static const MACH_IMP_PROPERTIES iq2000bf_imp_properties = +static const SIM_MACH_IMP_PROPERTIES iq2000bf_imp_properties = { sizeof (SIM_CPU), #if WITH_SCACHE @@ -2559,7 +2559,7 @@ iq2000_init_cpu (SIM_CPU *cpu) #endif } -const MACH iq2000_mach = +const SIM_MACH iq2000_mach = { "iq2000", "iq2000", MACH_IQ2000, 32, 32, & iq2000_models[0], & iq2000bf_imp_properties, |