mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
Kernel: Add support for handling interrupts on aarch64
There is currently some code duplication between the aarch64 implementation and the x86 one, but this initial implementation works for now. :^)
This commit is contained in:
parent
c959344c00
commit
3cf8d3361e
2 changed files with 114 additions and 8 deletions
|
@ -26,6 +26,7 @@
|
|||
.endm
|
||||
|
||||
.extern exception_common
|
||||
.extern handle_interrupt
|
||||
|
||||
//
|
||||
// Save all register states to the current stack
|
||||
|
@ -161,7 +162,7 @@ synchronous_current_elsp_el0:
|
|||
|
||||
irq_current_elsp_el0:
|
||||
save_current_context
|
||||
bl exception_common
|
||||
bl handle_interrupt
|
||||
restore_previous_context
|
||||
eret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue