svn commit: r222616 - head/sys/powerpc/aim
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Jun 2 14:21:21 UTC 2011
Author: nwhitehorn
Date: Thu Jun 2 14:21:20 2011
New Revision: 222616
URL: http://svn.freebsd.org/changeset/base/222616
Log:
Explicitly initialize the first thread's MSR to PSL_KERNSET.
Modified:
head/sys/powerpc/aim/machdep.c
Modified: head/sys/powerpc/aim/machdep.c
==============================================================================
--- head/sys/powerpc/aim/machdep.c Thu Jun 2 14:19:18 2011 (r222615)
+++ head/sys/powerpc/aim/machdep.c Thu Jun 2 14:21:20 2011 (r222616)
@@ -526,7 +526,7 @@ powerpc_init(vm_offset_t startkernel, vm
pmap_mmu_install(MMU_TYPE_OEA, BUS_PROBE_GENERIC);
pmap_bootstrap(startkernel, endkernel);
- mtmsr(mfmsr() | PSL_IR|PSL_DR|PSL_ME|PSL_RI);
+ mtmsr(PSL_KERNSET & ~PSL_EE);
isync();
/*
More information about the svn-src-head
mailing list