Explicitly initialize the first thread's MSR to PSL_KERNSET.

This commit is contained in:
Nathan Whitehorn 2011-06-02 14:21:20 +00:00
parent 6dd24ab3f1
commit 20ae1015b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222616

View File

@ -526,7 +526,7 @@ powerpc_init(vm_offset_t startkernel, vm_offset_t endkernel,
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();
/*