You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enable guest compilation for aarch64 (#1297)
* refactor: move out32 into arch-specific exit module
Extract the out32 VM exit function from exit.rs into
arch/amd64/exit.rs. exit.rs now delegates to the arch module
via cfg_attr, keeping arch-independent code (outb, abort,
debug_print) in the shared file.
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
* refactor: gate invariant_tsc module on x86_64
The invariant_tsc module uses core::arch::x86_64 intrinsics
(CPUID, RDTSC) which are not available on other architectures.
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
* refactor: gate x86_64-specific code in hyperlight-guest-bin
- Gate paging and exception modules on target_arch = x86_64
- Gate ProfiledLockedHeap (uses x86 out asm) on x86_64
- Skip musl/printf C compilation in build.rs on non-x86_64
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
* feat: add aarch64 arch stubs for guest crates
Add aarch64 arch modules with unimplemented!() stubs:
- hyperlight-guest: layout, prim_alloc, exit modules
- hyperlight-guest-bin: dispatch and entrypoint stubs
Update cfg_attr paths in layout.rs and prim_alloc.rs to
include aarch64. All stubs panic at runtime — no aarch64
guest functionality is implemented yet.
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
---------
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Co-authored-by: James Sturtevant <jsturtevant@gmail.com>
0 commit comments