Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132004752
D31336.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D31336.id.diff
View Options
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -262,8 +262,8 @@
lgdt(&ap_gdt); /* does magic intra-segment return */
wrmsr(MSR_FSBASE, 0); /* User value */
- wrmsr(MSR_GSBASE, (u_int64_t)pc);
- wrmsr(MSR_KGSBASE, (u_int64_t)pc); /* XXX User value while we're in the kernel */
+ wrmsr(MSR_GSBASE, (uint64_t)pc);
+ wrmsr(MSR_KGSBASE, 0); /* User value */
fix_cpuid();
lidt(&r_idt);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 13, 9:20 PM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23646399
Default Alt Text
D31336.id.diff (496 B)
Attached To
Mode
D31336: amd64: Set GSBASE before calling init_secondary()
Attached
Detach File
Event Timeline
Log In to Comment