forked from AbleOS/ableos
Got rid of two instructions
parent
a21f80c684
commit
146082c668
|
@ -74,9 +74,7 @@ extern "x86-interrupt" fn timer_interrupt_handler(_stack_frame: InterruptStackFr
|
|||
unsafe {
|
||||
asm!(
|
||||
// Kernel tick
|
||||
"push rax",
|
||||
"call {tick}",
|
||||
"pop rax",
|
||||
|
||||
// Push task's state onto stack
|
||||
// and save task pointer into scheduler
|
||||
|
|
Loading…
Reference in New Issue