-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel_x86_64: allow access of registers from interrupt handlers
This tidies up how we pass interrupt stack frames to Rust, and also saves all the registers (instead of just caller-saved ones) and allows Rust to access them. This will probably only be needed by the breakpoint handler, but it's probably not that bad performance-wise (we can change it back later if it proves to be slow), and is useful while we're trying to debug this weird issue. Interestingly, this changes the problem from presenting as a #PF into a #GP.
- Loading branch information
1 parent
ef8c027
commit b9dbbaf
Showing
3 changed files
with
180 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters