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();
 
        /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to