summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-07 03:17:03 -0400
committerIan Moffett <ian@osmora.org>2025-08-07 03:22:03 -0400
commit06f1fb09a830b89da5854eb6f5b1b5d4c8a7f41c (patch)
tree4595927830a015267a3abf51f569b4de79d601e4 /sys/include
parent1f3d3c11c94ef1ba7bf1e6bd28743067c3861099 (diff)
kernel: sysctl: Add 'hw.machine' variable
Introduce the 'hw.machine' sysctl variable to represent the current machine architecture. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/sysctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/sysctl.h b/sys/include/sys/sysctl.h
index 0086847..3b8d3c7 100644
--- a/sys/include/sys/sysctl.h
+++ b/sys/include/sys/sysctl.h
@@ -53,6 +53,7 @@
*/
#define HW_PAGESIZE 5
#define HW_NCPU 6
+#define HW_MACHINE 7
/*
* Option types (i.e., int, string, etc) for