On 7/10/25 23:19, Alexander Graf wrote:
On 07.10.25 22:31, Mohamed Mediouni wrote:
Follow changes in memory management, and enable process isolation for
a sandboxed GPU process when on a new OS.
Please detail here why this is necessary.
Signed-off-by: Mohamed Mediouni <[email protected]>
---
hw/display/apple-gfx-mmio.m | 56 +++++++++++++++++++++++++++----------
hw/display/apple-gfx.h | 13 +++++++++
hw/display/apple-gfx.m | 42 +++++++++++++++++++++++++++-
3 files changed, 95 insertions(+), 16 deletions(-)
+ FlatView* fv = address_space_to_flatview(&address_space_memory);
+ flatview_for_each_range(fv, apple_gfx_register_memory_cb,
memoryMapDescriptor);
+ iosfc_desc.mmioLength = 0x10000;
Why 0x10000?
Maybe we want qemu_real_host_page_size() here?