binutils-gdb/sim/bfin
Mike Frysinger 466b619e95 sim: bfin: push down mmr address/size checks
The bfin port is using the WITH_DEVICES framework for two reasons:
- get access to the cpu making the request (if available)
- check the alignment & size for core & system MMRs

We addressed the first part with commit dea10706e9,
and we handle the second part with this commit.  Arguably this is more
correct too because trying to do bad reads/writes directly (when devices
support is disabled) often results in bad memory accesses.

As part of this clean up, we also adjust all of the existing logic that
would reject invalid accesses: the code was relying on the checks never
returning, but that's not the case when things like gdb (via the user's
commands) are making the requests.  Thus we'd still end up with bad mem
accesses, or sometimes gdb being hung due to while(1) loops.

Now we can connect (most of) these models into any address and have them
work correctly.
2015-12-26 19:09:43 -05:00
..
bfroms
aclocal.m4
bfin-sim.c sim: bfin: avoid stack error under asan 2015-12-26 18:22:37 -05:00
bfin-sim.h
ChangeLog sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
config.in
configure
configure.ac
devices.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
devices.h sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_cec.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_cec.h
dv-bfin_ctimer.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_ctimer.h
dv-bfin_dma.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_dma.h
dv-bfin_dmac.c
dv-bfin_dmac.h
dv-bfin_ebiu_amc.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_ebiu_amc.h
dv-bfin_ebiu_ddrc.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_ebiu_ddrc.h
dv-bfin_ebiu_sdc.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_ebiu_sdc.h
dv-bfin_emac.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_emac.h
dv-bfin_eppi.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_eppi.h
dv-bfin_evt.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_evt.h
dv-bfin_gpio2.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_gpio2.h
dv-bfin_gpio.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_gpio.h
dv-bfin_gptimer.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_gptimer.h
dv-bfin_jtag.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_jtag.h
dv-bfin_mmu.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_mmu.h
dv-bfin_nfc.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_nfc.h
dv-bfin_otp.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_otp.h
dv-bfin_pfmon.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_pfmon.h
dv-bfin_pint.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_pint.h
dv-bfin_pll.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_pll.h
dv-bfin_ppi.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_ppi.h
dv-bfin_rtc.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_rtc.h
dv-bfin_sic.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_sic.h
dv-bfin_spi.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_spi.h
dv-bfin_trace.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_trace.h
dv-bfin_twi.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_twi.h
dv-bfin_uart2.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_uart2.h
dv-bfin_uart.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_uart.h
dv-bfin_wdog.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_wdog.h
dv-bfin_wp.c sim: bfin: push down mmr address/size checks 2015-12-26 19:09:43 -05:00
dv-bfin_wp.h
dv-eth_phy.c
gui.c
gui.h
insn_list.def
interp.c sim: standardize sim_create_inferior handling of argv a bit more 2015-12-26 07:19:07 -05:00
linux-fixed-code.h
linux-fixed-code.s
linux-targ-map.h
machs.c sim: move MACH/MODEL types into SIM_xxx namespace 2015-12-25 04:24:06 -05:00
machs.h
Makefile.in sim: sim-model: build for everyone 2015-12-25 04:40:31 -05:00
proc_list.def
sim-main.h
TODO