10 lines
200 B
Rust
10 lines
200 B
Rust
global_asm!(include_str!("switch.S"));
|
|
|
|
use super::TaskContext;
|
|
|
|
extern "C" {
|
|
pub fn __switch(
|
|
current_task_cx_ptr: *mut TaskContext,
|
|
next_task_cx_ptr: *const TaskContext
|
|
);
|
|
}
|