diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2016-10-19 15:06:49 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2017-06-27 15:09:15 +0200 |
commit | c93567463532f46f7c860fc6b431566b71adbd6b (patch) | |
tree | 78bce090046159a6a2c619c2b818493520a4f224 /rules.mak | |
parent | 7cc2298c46a6afa4f4ff7e5cd262809c782d701b (diff) |
exec: allow to get a pointer for some mmio memory region
This introduces a special callback which allows to run code from some MMIO
devices.
SysBusDevice with a MemoryRegion which implements the request_ptr callback will
be notified when the guest try to execute code from their offset. Then it will
be able to eg: pre-load some code from an SPI device or ask a pointer from an
external simulator, etc..
When the pointer or the data in it are no longer valid the device has to
invalidate it.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions