Correct a typo causing page fault during int handling after switching to new kernel stack
This commit is contained in:
parent
e4155ee008
commit
cf0d23b6fe
@ -102,7 +102,7 @@ ArpTrap\Vector:
|
|||||||
movdqa %xmm0, TrapXmm0(%rbp)
|
movdqa %xmm0, TrapXmm0(%rbp)
|
||||||
|
|
||||||
/* Test previous mode and swap GS if needed */
|
/* Test previous mode and swap GS if needed */
|
||||||
movl $0, TrapPreviousMode(%ebp)
|
movl $0, TrapPreviousMode(%rbp)
|
||||||
mov %cs, %ax
|
mov %cs, %ax
|
||||||
and $1, %al
|
and $1, %al
|
||||||
mov %al, TrapPreviousMode(%rbp)
|
mov %al, TrapPreviousMode(%rbp)
|
||||||
|
Loading…
Reference in New Issue
Block a user