Add context and file structs

This commit is contained in:
Jeremy Soller 2016-08-14 18:16:56 -06:00
parent 49739d47e8
commit 4e270bb807
9 changed files with 88 additions and 14 deletions

View file

@ -1,9 +1,9 @@
use arch::interrupt::{set_interrupts, halt};
use arch::interrupt::{enable_interrupts, halt};
#[test]
fn halt_with_interrupts() {
unsafe {
set_interrupts();
enable_interrupts();
halt();
}
}