Add context and file structs
This commit is contained in:
parent
49739d47e8
commit
4e270bb807
9 changed files with 88 additions and 14 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue