From 146082c668eb81bab4909402bbc7b177c1a6baf9 Mon Sep 17 00:00:00 2001 From: ondra05 Date: Fri, 20 May 2022 17:15:18 +0200 Subject: [PATCH] Got rid of two instructions --- ableos/src/arch/x86_64/interrupts.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ableos/src/arch/x86_64/interrupts.rs b/ableos/src/arch/x86_64/interrupts.rs index dc2fea6c..d4b947f8 100644 --- a/ableos/src/arch/x86_64/interrupts.rs +++ b/ableos/src/arch/x86_64/interrupts.rs @@ -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