aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/common.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-01-29 07:01:49 -0500
committerRaghuram Subramani <raghus2247@gmail.com>2025-01-29 07:01:49 -0500
commit87745d77a88e720da76bbaba9160a32bf690ac85 (patch)
tree9d39494c5ce84a20f3551264811dce2cba90b6e7 /kernel/include/common.h
parent80dd2a5024ebb1ed2bba60bebb9c7ef00fa81114 (diff)
physical_mm: Set the first 4MiB to unusable
... consequently, move from using dynamic memory to static memory for the page table and directory
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 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)