Add sys_yield tests and compile them to different location.

This commit is contained in:
Yifan Wu 2020-11-28 16:22:29 +08:00
parent f53f5e4b98
commit e552f3cfca
12 changed files with 99 additions and 57 deletions

View file

@ -30,4 +30,6 @@ fn clear_bss() {
(start_bss as usize..end_bss as usize).for_each(|addr| {
unsafe { (addr as *mut u8).write_volatile(0); }
});
}
}
pub use syscall::*;