Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143616887
D12133.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
969 B
Referenced Files
None
Subscribers
None
D12133.id.diff
View Options
Index: head/sys/amd64/amd64/cpu_switch.S
===================================================================
--- head/sys/amd64/amd64/cpu_switch.S
+++ head/sys/amd64/amd64/cpu_switch.S
@@ -108,7 +108,7 @@
movl %fs,%eax
cmpl $KUF32SEL,%eax
jne 1f
- rdfsbaseq %rax
+ rdfsbase %rax
movq %rax,PCB_FSBASE(%r8)
1: movl %gs,%eax
cmpl $KUG32SEL,%eax
Index: head/sys/amd64/amd64/exception.S
===================================================================
--- head/sys/amd64/amd64/exception.S
+++ head/sys/amd64/amd64/exception.S
@@ -340,10 +340,10 @@
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 @@
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 2:08 AM (14 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28246537
Default Alt Text
D12133.id.diff (969 B)
Attached To
Mode
D12133: amd64: drop q suffix from rd[fg]sbase for gas compatibility
Attached
Detach File
Event Timeline
Log In to Comment