1
0
Fork 0
forked from koniifer/ableos

Got rid of two instructions

This commit is contained in:
Erin 2022-05-20 17:15:18 +02:00 committed by ondra05
parent 8be1f2410e
commit 9e629fb83f

View file

@ -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