Explicitly initialize the first thread's MSR to PSL_KERNSET.
This commit is contained in:
parent
6dd24ab3f1
commit
20ae1015b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222616
@ -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();
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user