Move some variable name to task_cx to task_cx_ptr2(ch5 ver).

This commit is contained in:
Yifan Wu 2021-01-04 16:18:25 +08:00
parent 87a3500b34
commit 5730bac89e
4 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
);
}