Commit 63104477 authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

add dummy implementations for context switches

- only necessary in test environments
parent 639f3731
......@@ -71,6 +71,12 @@ pub use crate::arch::x86_64::kernel::{
get_processor_count, message_output_init, output_message_buf, output_message_byte,
pub fn switch_to_task(_old_stack: *mut usize, _new_stack: usize) {}
pub fn switch_to_fpu_owner(_old_stack: *mut usize, _new_stack: usize) {}
extern "C" {
pub fn switch_to_task(old_stack: *mut usize, new_stack: usize);
pub fn switch_to_fpu_owner(old_stack: *mut usize, new_stack: usize);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment