diff options
| author | Alexander Potapenko <glider@google.com> | 2026-01-26 19:04:06 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-02-09 09:43:36 +0000 |
| commit | f21a95cd9e1026a7a7e358ce594ae8ff1ce0c056 (patch) | |
| tree | c6710b1782d953d63482825f3d18dbbf844c922a /pkg/aflow/testdata/TestOnlyStructuredOutputs.trajectory.json | |
| parent | 4c131dc4b96f069f4177bf6cdd08431aaf9add88 (diff) | |
executor: implement L2 memory mirroring and dynamic code loading
Refactor the SYZOS L1 guest to construct L2 page tables dynamically by
mirroring its own memory layout (provided via boot arguments) instead
of using a static 2MB identity map.
This change introduces l2_map_page to allocate unique backing memory
for most regions, while mapping X86_SYZOS_ADDR_USER_CODE and
X86_SYZOS_ADDR_STACK_BOTTOM to specific per-VM buffers reserved in L1.
This allows L1 to inject code and stack content into backing buffers
while the L2 guest executes them from standard virtual addresses.
Additionally, MEM_REGION_FLAG_* definitions are moved to the guest
header to support this logic.
Diffstat (limited to 'pkg/aflow/testdata/TestOnlyStructuredOutputs.trajectory.json')
0 files changed, 0 insertions, 0 deletions
