From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:12:53 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF48116A4CE for ; Thu, 27 Jan 2005 04:12:53 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19E6043D31 for ; Thu, 27 Jan 2005 04:12:53 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R4CpnP043849; Thu, 27 Jan 2005 14:12:51 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F86B7E.3030006@freebsd.org> Date: Thu, 27 Jan 2005 14:18:06 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Leimbach References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> In-Reply-To: <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 04:12:53 -0000 David Leimbach wrote: >> >> If it doesn't respond to outside pings, I'd say it's hung. There's >> no easy way to generate an NMI on Mac platforms, so it's time to >> reboot :( >> > > Command-Power on powerbooks does an NMI IIRC. It's not *really* an NMI, since AFIK and looking at Darwin source, the external PMU generates an external interrupt in this case. These can be masked on PPC by clearing the PSL_EE bit in the machine status register. There are times when FreeBSD might be stuck in a loop with PSL_EE cleared, and you still want to break in, for example by generating a RESET interrupt and not an external interrupt. It would still be useful to support the PMU-generated Command-Power interrupt however :) later, Peter.