Commit graph

4 commits

Author SHA1 Message Date
Ronald Caesar
b54b3d97cd arm64: include missing definitions
Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-08-23 02:28:28 -04:00
Ronald Caesar
43bcf7e9a7 arm64/mem: Add MMU layer for GVA->GPA translation
A new function, mmu_gva_to_gpa(), will be the sole entry point for
resolving guest virtual addresses. This initial implementation models
the processor's state on reset. The function inspects the M bit from the
emulated SCTLR_EL1 register. If the bit is clear, address mapping (GVA =
GPA) is performed. This is an architecturally-mandated behavior required
for the Arm guest to execute its initiall boot code before enabling
virtual memory.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-08-23 02:28:28 -04:00
Ronald Caesar
9224377fd9
arm64: Remove incomplete file 2025-08-16 18:54:02 -04:00
Ronald Caesar
58587bf754 arm64: Renames the aarch64 directory to arm64
The term "aarch64" is the formal name for Armv8-A architecture. However,
I found that the establish convention across the wider open source
ecosystem is to use the short name "arm64".

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-08-16 17:37:12 -04:00