aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-22 22:37:22 -0500
committerIan Moffett <ian@osmora.org>2024-02-22 22:37:22 -0500
commit205fb6e5a8ae229e9c9546e72e327a49df557f40 (patch)
treeea02c3d39ea1c9590a0d54282db9468a576a9200 /sys
parentd098b398c22fab4936d2237cc64ded888c3bf7ee (diff)
kernel/amd64: machdep: Unmask interrupts
This commit unmasks maskable interrupts within the processor_init() routine for the AMD64 port. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 4efae64..8e7adce 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -162,4 +162,6 @@ processor_init(void)
/* Use spectre mitigation if enabled */
if (try_spectre_mitigate != NULL)
try_spectre_mitigate();
+
+ __ASMV("sti");
}