forked from AbleOS/ableos
Got rid of two instructions
This commit is contained in:
parent
8be1f2410e
commit
9e629fb83f
|
@ -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 a new issue