diff --git a/src/interrupts/mod.rs b/src/interrupts/mod.rs index 2635f10e..76d407f8 100644 --- a/src/interrupts/mod.rs +++ b/src/interrupts/mod.rs @@ -29,7 +29,7 @@ macro_rules! handler_with_error_code { call $0" :: "i"($name as extern "C" fn( *const ExceptionStackFrame, u64) -> !) - : "rdi" : "intel"); + : "rdi","rsi" : "intel"); ::core::intrinsics::unreachable(); } }