Date: Thu, 2 Jun 2011 14:21:21 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222616 - head/sys/powerpc/aim Message-ID: <201106021421.p52ELL4F021272@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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(); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106021421.p52ELL4F021272>