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 1414d05325
commit 4e8059e222
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::*;