From owner-svn-src-head@FreeBSD.ORG Thu Jun 2 14:21:21 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A38F106564A; Thu, 2 Jun 2011 14:21:21 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE4A8FC1B; Thu, 2 Jun 2011 14:21:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p52ELLu8021274; Thu, 2 Jun 2011 14:21:21 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p52ELL4F021272; Thu, 2 Jun 2011 14:21:21 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201106021421.p52ELL4F021272@svn.freebsd.org> From: Nathan Whitehorn Date: Thu, 2 Jun 2011 14:21:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222616 - head/sys/powerpc/aim X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 14:21:21 -0000 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(); /*