PERFORCE change 29732 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 25 14:18:51 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29732
Change 29732 by peter at peter_daintree on 2003/04/25 14:18:38
set KernelGSBase msr for swapgs's use
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#82 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#82 (text+ko) ====
@@ -1166,6 +1166,7 @@
wrmsr(MSR_FSBASE, (u_int64_t)pc);
wrmsr(MSR_GSBASE, (u_int64_t)pc);
+ wrmsr(MSR_KGSBASE, (u_int64_t)pc);
pcpu_init(pc, 0, sizeof(struct pcpu));
PCPU_SET(prvspace, pc);
More information about the p4-projects
mailing list