Skip to content

Commit

Permalink
Clarify Memory Access acts like data access.
Browse files Browse the repository at this point in the history
I'm not sure if this is necessary. Does RISC-V allow data loads to
differ from instruction fetches? For a long time any mention of caches
was avoided in all specs.

Inspired by #1062.
  • Loading branch information
rtwfroody committed Aug 22, 2024
1 parent 9feb0ef commit 6e44fd5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions xml/abstract_commands.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,11 @@ same project unless stated otherwise.

<register name="Access Memory">
This command lets the debugger perform memory accesses,
with the exact same memory view and permissions as the selected
hart has. This includes access to hart-local memory-mapped
registers, etc. The command performs the following sequence of
operations:
with the exact same memory view and permissions as performing
loads/stores on the selected hart.
This includes access to hart-local memory-mapped
registers, etc. The command performs the following sequence of
operations:

. Copy data from the memory location specified in `arg1` into the
`arg0` portion of `data`, if {accessregister-write} is clear.
Expand Down

0 comments on commit 6e44fd5

Please sign in to comment.