mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
interrupts: halt
This commit is contained in:
@@ -9,4 +9,8 @@ static inline void arch_interrupt_enable(){
|
|||||||
asm("sti");
|
asm("sti");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline void arch_halt(){
|
||||||
|
asm("hlt");
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user