summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-29 22:03:12 -0500
committerIan Moffett <ian@osmora.org>2024-02-29 22:03:12 -0500
commit2a9d7b9cc5f82eb60b295e4a689ac20f27dd65cb (patch)
tree4e29209c43a63ae9a59065ebaaa8cdaab01cc685 /sys/include
parentf8bb4e99a64aa9df31465ee817fc5623a2822b63 (diff)
kernel/amd64: machdep: Add wrappers over CLI/STI
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/machdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h
index 4612dcf..713b7db 100644
--- a/sys/include/sys/machdep.h
+++ b/sys/include/sys/machdep.h
@@ -39,6 +39,8 @@
void processor_init(void);
void processor_halt(void);
+void intr_mask(void);
+void intr_unmask(void);
__weak void chips_init(void);
__weak void pre_init(void);
__weak void serial_dbgch(char c);