mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
Kernel: Don't byteswap the ISR number on interrupt entry
Let's just add the padding before we jump to interrupt_common_asm_entry.
This commit is contained in:
parent
59ba316ac6
commit
db334b50d0
Notes:
sideshowbarker
2024-07-18 11:09:07 +09:00
Author: https://github.com/gunnarbeutner
Commit: db334b50d0
Pull-request: https://github.com/SerenityOS/serenity/pull/8375
2 changed files with 9 additions and 7 deletions
|
@ -12,13 +12,6 @@
|
|||
asm(
|
||||
".globl interrupt_common_asm_entry\n"
|
||||
"interrupt_common_asm_entry: \n"
|
||||
// add the padding field in RegisterState
|
||||
" subq $4, %rsp\n"
|
||||
" pushq %rax\n"
|
||||
" movl 12(%rsp), %eax\n"
|
||||
" movl $0, 12(%rsp)\n"
|
||||
" movl %eax, 8(%rsp)\n"
|
||||
" popq %rax\n"
|
||||
// save all the other registers
|
||||
" pushq %r15\n"
|
||||
" pushq %r14\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue