aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-26 14:16:51 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-26 14:22:14 -0500
commitdea10706e9159ba6e94eab4c25010f3006d033a0 (patch)
treec8fc838df641b5eb0e1e714e7c5e21f61cf6e239 /sim/erc32
parent26f8bf63bf36f9062a5cc1afacf71462a4abe0c8 (diff)
downloadgdb-dea10706e9159ba6e94eab4c25010f3006d033a0.zip
gdb-dea10706e9159ba6e94eab4c25010f3006d033a0.tar.gz
gdb-dea10706e9159ba6e94eab4c25010f3006d033a0.tar.bz2
sim: sim-core: pass down cpu to hw accesses when available
The bfin port has been using the device callback largely so it could be passed the cpu when available. Add this logic to the common core code so all ports get access to the active cpu. The semantics of these buffer functions are changed slightly in that errors halt the engine synchronously rather than returning the length to the caller. We'll probably adjust this in a follow up commit. The bfin code isn't updated just yet as it has a bit more logic in the device layer that needs to be unwound at which point we can delete it entirely.
Diffstat (limited to 'sim/erc32')
0 files changed, 0 insertions, 0 deletions