aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/common.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-02-07 17:15:28 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-02-07 17:17:15 +0530
commitcca4e987ec30229a77a7cd4bf27c9d6670ad79db (patch)
tree1747ef03b987221e2c655f0fc42e1161a0e8958d /kernel/include/common.h
parentd19eaaef708a51d1ac6a89a86c14745ad948e6c8 (diff)
IDT: Initialize IDT with a very basic exception handler that does nothing
Diffstat (limited to 'kernel/include/common.h')
-rw-r--r--kernel/include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/include/common.h b/kernel/include/common.h
index 7c5270a..ecda7b2 100644
--- a/kernel/include/common.h
+++ b/kernel/include/common.h
@@ -21,6 +21,7 @@
#define ALWAYS_INLINE __attribute__((always_inline)) inline
#define PACKED __attribute__((packed))
+#define NORETURN __attribute__((noreturn))
#define ALIGNED(x) __attribute__((aligned(x)))
#define KiB 1024