mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 14:00:58 +00:00
1cc4b92c67
Add a new optional method get_phys_page_attrs_debug() to CPUClass. This is like the existing get_phys_page_debug(), but also returns the memory transaction attributes to use for the access. This will be necessary for CPUs which have multiple address spaces and use the attributes to select the correct address space. We provide a wrapper function cpu_get_phys_page_attrs_debug() which falls back to the existing get_phys_page_debug(), so we don't need to change every target CPU. Backports commit 1dc6fb1f5cc5cea5ba01010a19c6acefd0ae4b73 from qemu |
||
---|---|---|
.. | ||
cpu.h | ||
object.h | ||
qom-qobject.h |