diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-11-02 23:09:18 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-11-02 23:09:18 +0200 |
commit | 509bf85036b3c345f832558a299257effabba108 (patch) | |
tree | 0dda6c4fd5e072410d958b65af90755c5014b514 /i686/sys/control.h | |
parent | makefile: make all target the default (diff) | |
download | kernel-509bf85036b3c345f832558a299257effabba108.tar.xz |
fix compiler warnings
Diffstat (limited to 'i686/sys/control.h')
-rw-r--r-- | i686/sys/control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i686/sys/control.h b/i686/sys/control.h index 0231236..1b38472 100644 --- a/i686/sys/control.h +++ b/i686/sys/control.h @@ -1,6 +1,6 @@ #pragma once -static void +static inline void abort() { asm volatile(R"(cli @@ -8,13 +8,13 @@ h: hlt jmp h)"); } -static void +static inline void enable_interrupts() { asm volatile("sti"); } -static void +static inline void disable_interrupts() { asm volatile("cli"); |