#pragma once static __inline__ void abort() { /* Symbol h is already defined? __asm__(R"(cli h: hlt jmp h)"); */ __asm__("cli; hlt"); } static __inline__ void enable_interrupts() { __asm__("sti"); } static __inline__ void disable_interrupts() { __asm__("cli"); }