From 2a9d7b9cc5f82eb60b295e4a689ac20f27dd65cb Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 29 Feb 2024 22:03:12 -0500 Subject: kernel/amd64: machdep: Add wrappers over CLI/STI Signed-off-by: Ian Moffett --- sys/include/sys/machdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') 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); -- cgit v1.2.3