Move some variable name to task_cx to task_cx_ptr2

This commit is contained in:
Yifan Wu 2021-01-04 16:05:15 +08:00
parent 6011a6a943
commit 3851c2d561
3 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,8 @@
global_asm!(include_str!("switch.S"));
extern "C" {
pub fn __switch(current_task_cx: *const usize, next_task_cx: *const usize);
pub fn __switch(
current_task_cx_ptr2: *const usize,
next_task_cx_ptr2: *const usize
);
}