We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 980a003 commit b24cc36Copy full SHA for b24cc36
src/exception.rs
@@ -340,7 +340,7 @@ fn current_el_sync_handler(tf: &mut TrapFrame) {
340
/// invoked as part of the low-level hypervisor or VM exit handling routines.
341
#[unsafe(naked)]
342
#[unsafe(no_mangle)]
343
-unsafe extern fn vmexit_trampoline() -> ! {
+unsafe extern "C" fn vmexit_trampoline() -> ! {
344
core::arch::naked_asm!(
345
// Curretly `sp` points to the base address of `Aarch64VCpu.ctx`, which stores guest's `TrapFrame`.
346
"add x9, sp, 34 * 8", // Skip the exception frame.
0 commit comments