aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/common.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-01-04 10:53:38 -0500
committerRaghuram Subramani <raghus2247@gmail.com>2025-01-04 10:53:38 -0500
commitae6db9be229bdfdf19fa98eec9871f89b08d14eb (patch)
tree0e2bf74317ac7f6de728811897662b66d9dadf7e /kernel/include/common.h
parentcd10fa5a9a84d445bea5bc4bbf903aac1df65053 (diff)
kernel: mm: Detect memory regions.
Doesn't do much, but lays down the foundation for future memory management efforts.
Diffstat (limited to 'kernel/include/common.h')
-rw-r--r--kernel/include/common.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/include/common.h b/kernel/include/common.h
new file mode 100644
index 0000000..269d3f3
--- /dev/null
+++ b/kernel/include/common.h
@@ -0,0 +1,24 @@
+/*
+ * CMOS
+ * Copyright (C) 2025 Raghuram Subramani <raghus2247@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __common_h
+#define __common_h
+
+#define ALWAYS_INLINE __attribute__((always_inline)) inline
+
+#endif