mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add missing rsi clobber in code as well
(cherry picked from commit 46d41d9c3d)
This commit is contained in:
@@ -29,7 +29,7 @@ macro_rules! handler_with_error_code {
|
|||||||
call $0"
|
call $0"
|
||||||
:: "i"($name as extern "C" fn(
|
:: "i"($name as extern "C" fn(
|
||||||
*const ExceptionStackFrame, u64) -> !)
|
*const ExceptionStackFrame, u64) -> !)
|
||||||
: "rdi" : "intel");
|
: "rdi","rsi" : "intel");
|
||||||
::core::intrinsics::unreachable();
|
::core::intrinsics::unreachable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user