aboutsummaryrefslogtreecommitdiff
path: root/i686/sys/control.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-12-04 17:17:03 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-12-04 17:26:54 +0200
commit36367557604575ffec9739e0a64e2f0cdff07e77 (patch)
tree548a58dd1fe817a190abc53018defd337634ba7c /i686/sys/control.h
parentRemove custom include paths in makefiles (diff)
downloadkernel-36367557604575ffec9739e0a64e2f0cdff07e77.tar.xz
Rename CCFLAGS to CFLAGS
Diffstat (limited to 'i686/sys/control.h')
-rw-r--r--i686/sys/control.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/i686/sys/control.h b/i686/sys/control.h
index 1b38472..7dde3c8 100644
--- a/i686/sys/control.h
+++ b/i686/sys/control.h
@@ -3,9 +3,13 @@
static inline void
abort()
{
- asm volatile(R"(cli
+ /* Symbol h is already defined?
+asm volatile(R"(cli
h: hlt
jmp h)");
+*/
+ asm volatile(R"(cli
+hlt)");
}
static inline void