sim: sim-core: pass down cpu to hw accesses when available
authorMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 19:16:51 +0000 (14:16 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 26 Dec 2015 19:22:14 +0000 (14:22 -0500)
commitdea10706e9159ba6e94eab4c25010f3006d033a0
treec8fc838df641b5eb0e1e714e7c5e21f61cf6e239
parent26f8bf63bf36f9062a5cc1afacf71462a4abe0c8
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.
sim/common/ChangeLog
sim/common/sim-core.c
This page took 0.025573 seconds and 4 git commands to generate.