We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6874ab3 commit 85c7cbdCopy full SHA for 85c7cbd
src/aero_kernel/src/arch/x86_64/interrupts/handlers.asm
@@ -39,6 +39,7 @@ interrupt_handler_%1:
39
test qword [rsp + 16], 0x3
40
; skip the SWAPGS instruction if CS & 0b11 == 0b00.
41
jz .dont_swapgs
42
+ lfence
43
swapgs
44
.dont_swapgs:
45
@@ -70,6 +71,7 @@ interrupt_handler_%1:
70
71
test qword [rsp + 8], 0x3
72
73
jz .dont_swapgs_again
74
75
76
.dont_swapgs_again:
77
0 commit comments