PCI driver WIP

This commit is contained in:
Jeremy Soller 2016-09-11 15:56:48 -06:00
commit c9a4b3882c

View file

@ -105,6 +105,11 @@ pub fn getpid() -> Result<usize> {
Ok(context.id)
}
pub fn iopl(_level: usize) -> Result<usize> {
//TODO
Ok(0)
}
pub fn sched_yield() -> Result<usize> {
unsafe { context::switch(); }
Ok(0)