sim: mips: delete mmu stubs to move to common sim_{read,write}
authorMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 16:35:03 +0000 (11:35 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 16:50:59 +0000 (11:50 -0500)
commit26f8bf63bf36f9062a5cc1afacf71462a4abe0c8
treed34918179d17bf66825ef28af0dcc83b41dc94fc
parent8b494522f9f20e1e1d29089067d51fc141c33558
sim: mips: delete mmu stubs to move to common sim_{read,write}

The only unique thing about mip's sim_{read,write} helpers is the call to
address_translation on the incoming address.  When we look closer at that
function though, we see it's just a stub that maps physical to virtual,
and the cache/return values are hardcoded.  If we delete this function,
we can then collapse all the callers and drop the custom sim_{read,write}
logic entirely.

Some day we might want to add MMU support, but when we do, we'll want to
have the common layers handle things so all targets benefit.
sim/mips/ChangeLog
sim/mips/interp.c
sim/mips/micromips.igen
sim/mips/mips.igen
sim/mips/sim-main.c
sim/mips/sim-main.h