Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 14:18:49 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 29732 for review
Message-ID:  <200304252118.h3PLInLB034602@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29732

Change 29732 by peter@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304252118.h3PLInLB034602>