summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-16 15:17:02 -0500
committerIan Moffett <ian@osmora.org>2025-11-16 15:17:02 -0500
commit14f44e5b4a7513931b1371b5042d212a6a07ac1e (patch)
treec06759873b32fbfafdb377f7ecdeec431cbc5449
parentfaea4293fff64a1215d101a9f80f814052aa25d1 (diff)
kern/amd64: Annotate KFENCE macro
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/inc/arch/amd64/kfence.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/inc/arch/amd64/kfence.h b/sys/inc/arch/amd64/kfence.h
index 110c9a8..893fdb8 100644
--- a/sys/inc/arch/amd64/kfence.h
+++ b/sys/inc/arch/amd64/kfence.h
@@ -41,6 +41,10 @@
swapgs ; \
1:
+/*
+ * Kernel entry/exit handling for interrupts containing
+ * no error codes
+ */
#define KFENCE ; \
testq $0x3, 8(%rsp) ; \
jz 1f ; \