diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2000-08-11 18:44:59 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2000-08-11 18:44:59 +0000 |
commit | 63348d048f2d0bdaa82071e72708c7345ba2a3bf (patch) | |
tree | 5685aee1a9fafe24cfae4efa3e730b05c901243f /sim/m68hc11/sim-main.h | |
parent | 351aa9f6577b96f8e044432d2f04d2f6521c4873 (diff) | |
download | gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.zip gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.tar.gz gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.tar.bz2 |
Use address mapping levels for 68hc11 simulator (kill overlap hack)
Diffstat (limited to 'sim/m68hc11/sim-main.h')
-rw-r--r-- | sim/m68hc11/sim-main.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h index 8825977..c5c42e4 100644 --- a/sim/m68hc11/sim-main.h +++ b/sim/m68hc11/sim-main.h @@ -54,6 +54,18 @@ struct _sim_cpu; #include "interrupts.h" #include <setjmp.h> +/* Specifies the level of mapping for the IO, EEprom, nvram and external + RAM. IO registers are mapped over everything and the external RAM + is last (ie, it can be hidden by everything above it in the list). */ +enum m68hc11_map_level +{ + M6811_IO_LEVEL, + M6811_EEPROM_LEVEL, + M6811_NVRAM_LEVEL, + M6811_RAM_LEVEL +}; + + #define X_REGNUM 0 #define D_REGNUM 1 #define Y_REGNUM 2 |