sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET}
authorMike Frysinger <vapier@gentoo.org>
Thu, 16 Apr 2015 06:11:12 +0000 (02:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 17 Apr 2015 06:44:30 +0000 (02:44 -0400)
commit034685f9ce92cf6dfb6656745365b6a5904a8e84
treec4b591263048d0a9d89af68c9abd8e69786ed2f7
parent27b97b40bca216097d16d53fa9408a70cd281479
sim: replace CIA_{GET,SET} with CPU_PC_{GET,SET}

The CIA_{GET,SET} macros serve the same function as CPU_PC_{GET,SET}
except the latter adds a layer of indirection via the sim state.  This
lets models set up different functions at runtime and doesn't reach so
directly into the arch-specific cpu state.

It also doesn't make sense to have two sets of macros that do exactly
the same thing, so lets standardize on the one that gets us more.
64 files changed:
sim/arm/ChangeLog
sim/arm/sim-main.h
sim/avr/ChangeLog
sim/avr/sim-main.h
sim/bfin/ChangeLog
sim/bfin/sim-main.h
sim/common/ChangeLog
sim/common/cgen-utils.c
sim/common/sim-core.c
sim/common/sim-engine.h
sim/common/sim-run.c
sim/cr16/ChangeLog
sim/cr16/sim-main.h
sim/cris/ChangeLog
sim/cris/crisv10f.c
sim/cris/crisv32f.c
sim/cris/sim-main.h
sim/d10v/ChangeLog
sim/d10v/sim-main.h
sim/frv/ChangeLog
sim/frv/sim-main.h
sim/frv/traps.c
sim/ft32/ChangeLog
sim/ft32/interp.c
sim/ft32/sim-main.h
sim/h8300/ChangeLog
sim/h8300/sim-main.h
sim/igen/ChangeLog
sim/igen/gen-engine.c
sim/iq2000/ChangeLog
sim/iq2000/sim-main.h
sim/lm32/ChangeLog
sim/lm32/dv-lm32cpu.c
sim/lm32/sim-main.h
sim/lm32/traps.c
sim/m32r/ChangeLog
sim/m32r/sim-main.h
sim/m68hc11/ChangeLog
sim/m68hc11/sim-main.h
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/mcore/sim-main.h
sim/microblaze/ChangeLog
sim/microblaze/sim-main.h
sim/mips/ChangeLog
sim/mips/dv-tx3904cpu.c
sim/mips/interp.c
sim/mips/m16run.c
sim/mips/sim-main.h
sim/mn10300/ChangeLog
sim/mn10300/dv-mn103cpu.c
sim/mn10300/interp.c
sim/mn10300/sim-main.h
sim/moxie/ChangeLog
sim/moxie/interp.c
sim/moxie/sim-main.h
sim/msp430/ChangeLog
sim/msp430/sim-main.h
sim/sh/ChangeLog
sim/sh/sim-main.h
sim/sh64/ChangeLog
sim/sh64/sim-main.h
sim/v850/ChangeLog
sim/v850/sim-main.h