aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-cpu.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-25 04:12:55 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-25 04:24:06 -0500
commit8a0ebee658862bec66191df192c1d3b09bf0c943 (patch)
tree4e714c457a1130fcbb2b2f79f26c23ebd0db77d5 /sim/common/sim-cpu.h
parent91d6df784db745df2b0a6827de8306246083bc94 (diff)
downloadfsf-binutils-gdb-8a0ebee658862bec66191df192c1d3b09bf0c943.zip
fsf-binutils-gdb-8a0ebee658862bec66191df192c1d3b09bf0c943.tar.gz
fsf-binutils-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/common/sim-cpu.h')
-rw-r--r--sim/common/sim-cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-cpu.h b/sim/common/sim-cpu.h
index 18b9dc7..20838e8 100644
--- a/sim/common/sim-cpu.h
+++ b/sim/common/sim-cpu.h
@@ -102,10 +102,10 @@ typedef struct {
#ifdef SIM_HAVE_MODEL
/* Machine tables for this cpu. See sim-model.h. */
- const MACH *mach;
+ const SIM_MACH *mach;
#define CPU_MACH(cpu) ((cpu)->base.mach)
/* The selected model. */
- const MODEL *model;
+ const SIM_MODEL *model;
#define CPU_MODEL(cpu) ((cpu)->base.model)
/* Model data (profiling state, etc.). */
void *model_data;