forked from koniifer/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 {
|
unsafe {
|
||||||
asm!(
|
asm!(
|
||||||
// Kernel tick
|
// Kernel tick
|
||||||
"push rax",
|
|
||||||
"call {tick}",
|
"call {tick}",
|
||||||
"pop rax",
|
|
||||||
|
|
||||||
// Push task's state onto stack
|
// Push task's state onto stack
|
||||||
// and save task pointer into scheduler
|
// and save task pointer into scheduler
|
||||||
|
|
Loading…
Reference in a new issue