pound-emu_pound/core
Ronald Caesar e7b5349980 aarch64/mem: Introduce a dedicated guest memory access layer
This commit introduces a proper abstraction layer for all read and write
operations.

The previous approach of directly calculating a Host Virtual Address
(HVA) from a Guest Physical Address (GPA) via gpa_to_hva() forces every
part of the emulator that touches guest memory to be aware of the
underlying host pointer, which is poor design.

This new layer introduces a suite of guest_mem_read{b,w,l,q} and
guest_mem_write{b,w,l,q} fuctions. All future memory accesses from the
emulated CPU should be performed through these functions.

The code has also been moved into the pound::aarch64 namespace for
better organization.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-08-14 20:07:29 -04:00
..
aarch64 aarch64/mem: Introduce a dedicated guest memory access layer 2025-08-14 20:07:29 -04:00
audio Import Strong Logger & Config System 2025-06-18 18:30:21 +02:00
Base aarch64/mem: Introduce a dedicated guest memory access layer 2025-08-14 20:07:29 -04:00
gpu Import Strong Logger & Config System 2025-06-18 18:30:21 +02:00
Images Adding Pound Icon to Executable 2025-06-18 19:09:53 +02:00
JIT aarch64: fix include file in jit 2025-08-10 02:42:27 -04:00
memory Feat: added support for std::allocator (#65) 2025-08-10 06:54:02 +00:00
miscgui rename settings to avoid build faliures 2025-06-21 15:06:37 -04:00
main.cpp gui: initialize structs to default value 2025-08-10 02:10:06 -04:00
Pound.rc Adding Pound Icon to Executable 2025-06-18 19:09:53 +02:00