sys_yield tests worked on qemu.
This commit is contained in:
parent
91043b08cd
commit
4590f233b5
10 changed files with 134 additions and 53 deletions
|
@ -1,7 +1,5 @@
|
|||
use super::TaskContext;
|
||||
|
||||
global_asm!(include_str!("switch.S"));
|
||||
|
||||
extern "C" {
|
||||
pub fn __switch(current_task_cx: &usize, next_task_cx: &usize);
|
||||
pub fn __switch(current_task_cx: *const usize, next_task_cx: *const usize);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue