Add context and file structs
This commit is contained in:
parent
49739d47e8
commit
4e270bb807
9 changed files with 88 additions and 14 deletions
|
@ -4,14 +4,14 @@ static mut INTERRUPTS_ENABLED: bool = false;
|
|||
|
||||
/// Clear interrupts
|
||||
#[inline(always)]
|
||||
pub unsafe fn clear_interrupts() {
|
||||
pub unsafe fn disable_interrupts() {
|
||||
println!("CLEAR INTERRUPTS");
|
||||
INTERRUPTS_ENABLED = false;
|
||||
}
|
||||
|
||||
/// Set interrupts
|
||||
#[inline(always)]
|
||||
pub unsafe fn set_interrupts() {
|
||||
pub unsafe fn enable_interrupts() {
|
||||
println!("SET INTERRUPTS");
|
||||
INTERRUPTS_ENABLED = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue