From 87745d77a88e720da76bbaba9160a32bf690ac85 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Wed, 29 Jan 2025 07:01:49 -0500 Subject: physical_mm: Set the first 4MiB to unusable ... consequently, move from using dynamic memory to static memory for the page table and directory --- kernel/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/include') diff --git a/kernel/include/common.h b/kernel/include/common.h index 7f7f50f..7c5270a 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 ALIGNED(x) __attribute__((aligned(x))) #define KiB 1024 #define MiB (KiB * KiB) -- cgit v1.2.3