parent
156034c3d1
commit
3b792baf5b
@ -0,0 +1,9 @@
|
||||
use x86_64;
|
||||
|
||||
pub fn enable() {
|
||||
unsafe{ x86_64::instructions::interrupts::enable(); }
|
||||
}
|
||||
|
||||
pub fn disable() {
|
||||
unsafe{ x86_64::instructions::interrupts::disable(); }
|
||||
}
|
Loading…
Reference in new issue