diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 14:16:51 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 14:22:14 -0500 |
commit | dea10706e9159ba6e94eab4c25010f3006d033a0 (patch) | |
tree | c8fc838df641b5eb0e1e714e7c5e21f61cf6e239 /sim/common/ChangeLog | |
parent | 26f8bf63bf36f9062a5cc1afacf71462a4abe0c8 (diff) | |
download | gdb-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/common/ChangeLog')
-rw-r--r-- | sim/common/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3e6e3d9..05cdda8 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,10 @@ +2015-12-26 Mike Frysinger <vapier@gentoo.org> + + * sim-core.c (sim_core_read_buffer): Move cia decl to top of func. + Call sim_cpu_hw_io_read_buffer if cpu is valid. + (sim_core_write_buffer): Move cia decl to top of func. Call + sim_cpu_hw_io_write_buffer if cpu is valid. + 2015-12-25 Mike Frysinger <vapier@gentoo.org> * hw-properties.c (hw_find_ihandle_runtime_property): Delete |