diff options
author | Alistair Popple <alistair@popple.id.au> | 2018-11-07 13:49:50 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-12-18 18:31:34 +1100 |
commit | 302f249d95f03fbd039b5bb80ee6ba42593fccbe (patch) | |
tree | c9b9f91728003a0582b92badbd37cd36330ded2c /libpdbg/operations.h | |
parent | e09316fbf5ab120f147703b420bfe58518985601 (diff) | |
download | pdbg-302f249d95f03fbd039b5bb80ee6ba42593fccbe.tar.gz pdbg-302f249d95f03fbd039b5bb80ee6ba42593fccbe.zip |
adu: Add arugments for block size
Not all memory can be read with the default ADU block size of 8
bytes. Specifically cache-inhibited access to some MMIO regions such
as PCIe BAR spaces requires 4 byte accesses to avoid check stopping
the machine.
This patch adds library functions to read/write IO memory which takes
a block size argument and two new put/getmemio commands to allow a
specific block size to be specified from the command line.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Reviewed-by: Amitay Isaacs <amitay@ozlabs.org>
Diffstat (limited to 'libpdbg/operations.h')
0 files changed, 0 insertions, 0 deletions