diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 11:40:31 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-21 00:00:01 -0500 |
commit | 79d784aef987bacd6e8072f5819ae07a078558da (patch) | |
tree | fd2c2604b58d921ba1378e879f309b62f761e488 /sim/m68hc11/emulos.c | |
parent | 8e9408080bf944b7f162c974e930a1c3420bb8c1 (diff) | |
download | fsf-binutils-gdb-79d784aef987bacd6e8072f5819ae07a078558da.zip fsf-binutils-gdb-79d784aef987bacd6e8072f5819ae07a078558da.tar.gz fsf-binutils-gdb-79d784aef987bacd6e8072f5819ae07a078558da.tar.bz2 |
sim: m68hc11: invert sim_cpu storage
Diffstat (limited to 'sim/m68hc11/emulos.c')
-rw-r--r-- | sim/m68hc11/emulos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m68hc11/emulos.c b/sim/m68hc11/emulos.c index b661175..7ee72cb 100644 --- a/sim/m68hc11/emulos.c +++ b/sim/m68hc11/emulos.c @@ -104,7 +104,7 @@ emul_write (sim_cpu *cpu) if (addr + size > 0x0FFFF) { size = 0x0FFFF - addr; } - cpu->cpu_running = 0; + M68HC11_SIM_CPU (cpu)->cpu_running = 0; while (size) { uint8_t val = memory_read8 (cpu, addr); @@ -132,7 +132,7 @@ emul_exit (sim_cpu *cpu) void emul_os (int code, sim_cpu *cpu) { - cpu->cpu_current_cycle = 8; + M68HC11_SIM_CPU (cpu)->cpu_current_cycle = 8; switch (code) { case 0x0: |