From b323831f2ff1bf0251b5b7e1c52a24ef3ace4498 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 3 Sep 2023 22:46:11 +0200 Subject: [PATCH] add core::arch::asm for inline assembly --- src/arch/x86_64/kernel/scheduler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/x86_64/kernel/scheduler.rs b/src/arch/x86_64/kernel/scheduler.rs index a8c2ca3836..d0a026ce1a 100644 --- a/src/arch/x86_64/kernel/scheduler.rs +++ b/src/arch/x86_64/kernel/scheduler.rs @@ -1,6 +1,7 @@ //! Architecture dependent interface to initialize a task use alloc::boxed::Box; +use core::arch::asm; use core::{mem, ptr, slice}; use align_address::Align;