diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-22 22:37:22 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-22 22:37:22 -0500 |
commit | 205fb6e5a8ae229e9c9546e72e327a49df557f40 (patch) | |
tree | ea02c3d39ea1c9590a0d54282db9468a576a9200 /sys/arch/amd64/amd64 | |
parent | d098b398c22fab4936d2237cc64ded888c3bf7ee (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/arch/amd64/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 2 |
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"); } |