From 205fb6e5a8ae229e9c9546e72e327a49df557f40 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 22 Feb 2024 22:37:22 -0500 Subject: kernel/amd64: machdep: Unmask interrupts This commit unmasks maskable interrupts within the processor_init() routine for the AMD64 port. Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/machdep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') 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"); } -- cgit v1.2.3