From cca4e987ec30229a77a7cd4bf27c9d6670ad79db Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Fri, 7 Feb 2025 17:15:28 +0530 Subject: IDT: Initialize IDT with a very basic exception handler that does nothing --- kernel/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/include/common.h') 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 -- cgit v1.2.3