mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
amd64: drop q suffix from rd[fg]sbase for gas compatibility
Reviewed by: kib Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12133
This commit is contained in:
parent
4532588625
commit
0d4e7ec5f3
2 changed files with 4 additions and 4 deletions
|
|
@ -108,7 +108,7 @@ ENTRY(cpu_switch)
|
|||
movl %fs,%eax
|
||||
cmpl $KUF32SEL,%eax
|
||||
jne 1f
|
||||
rdfsbaseq %rax
|
||||
rdfsbase %rax
|
||||
movq %rax,PCB_FSBASE(%r8)
|
||||
1: movl %gs,%eax
|
||||
cmpl $KUG32SEL,%eax
|
||||
|
|
|
|||
|
|
@ -340,10 +340,10 @@ prot_addrf:
|
|||
jz 2f
|
||||
cmpw $KUF32SEL,TF_FS(%rsp)
|
||||
jne 1f
|
||||
rdfsbaseq %rax
|
||||
rdfsbase %rax
|
||||
1: cmpw $KUG32SEL,TF_GS(%rsp)
|
||||
jne 2f
|
||||
rdgsbaseq %rdx
|
||||
rdgsbase %rdx
|
||||
2: swapgs
|
||||
movq PCPU(CURPCB),%rdi
|
||||
testb $CPUID_STDEXT_FSGSBASE,cpu_stdext_feature(%rip)
|
||||
|
|
@ -533,7 +533,7 @@ nmi_fromuserspace:
|
|||
jz 2f
|
||||
cmpw $KUF32SEL,TF_FS(%rsp)
|
||||
jne 1f
|
||||
rdfsbaseq %rax
|
||||
rdfsbase %rax
|
||||
movq %rax,PCB_FSBASE(%rdi)
|
||||
1: cmpw $KUG32SEL,TF_GS(%rsp)
|
||||
jne 2f
|
||||
|
|
|
|||
Loading…
Reference in a new issue