aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/dv-m68hc11tim.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2000-08-11 18:44:59 +0000
committerStephane Carrez <stcarrez@nerim.fr>2000-08-11 18:44:59 +0000
commit63348d048f2d0bdaa82071e72708c7345ba2a3bf (patch)
tree5685aee1a9fafe24cfae4efa3e730b05c901243f /sim/m68hc11/dv-m68hc11tim.c
parent351aa9f6577b96f8e044432d2f04d2f6521c4873 (diff)
downloadfsf-binutils-gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.zip
fsf-binutils-gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.tar.gz
fsf-binutils-gdb-63348d048f2d0bdaa82071e72708c7345ba2a3bf.tar.bz2
Use address mapping levels for 68hc11 simulator (kill overlap hack)
Diffstat (limited to 'sim/m68hc11/dv-m68hc11tim.c')
-rw-r--r--sim/m68hc11/dv-m68hc11tim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/m68hc11/dv-m68hc11tim.c b/sim/m68hc11/dv-m68hc11tim.c
index c672d3a..3a4b2cf 100644
--- a/sim/m68hc11/dv-m68hc11tim.c
+++ b/sim/m68hc11/dv-m68hc11tim.c
@@ -103,7 +103,7 @@ static void
attach_m68hc11tim_regs (struct hw *me,
struct m68hc11tim *controller)
{
- hw_attach_address (hw_parent (me), 0, io_map,
+ hw_attach_address (hw_parent (me), M6811_IO_LEVEL, io_map,
M6811_TIMER_FIRST_REG,
M6811_TIMER_LAST_REG - M6811_TIMER_FIRST_REG + 1,
me);
@@ -116,7 +116,6 @@ m68hc11tim_finish (struct hw *me)
struct m68hc11tim *controller;
controller = HW_ZALLOC (me, struct m68hc11tim);
- me->overlap_mode_hw = 1;
set_hw_data (me, controller);
set_hw_io_read_buffer (me, m68hc11tim_io_read_buffer);
set_hw_io_write_buffer (me, m68hc11tim_io_write_buffer);