Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 14:18:06 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        David Leimbach <leimy2k@mac.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Mac mini and FreeBSD - buildworld
Message-ID:  <41F86B7E.3030006@freebsd.org>
In-Reply-To: <4d31b98a8d4f2abc19afd42edf17bf68@mac.com>
References:  <41F170F1.2010701@finnovative.net> <p06200731be1731cf8ec8@[128.113.24.47]> <p06200732be184e814933@[128.113.24.47]> <41F3AFBD.60505@freebsd.org> <p06200737be19ffbdd478@[128.113.24.47]> <41F47300.3050406@freebsd.org> <p0620073abe1a23663046@[128.113.24.47]> <41F47C1C.2060608@freebsd.org> <p0620073cbe1a32f4d595@[128.113.24.47]> <41F48BBB.3080708@freebsd.org> <p06200744be1c8a745957@[128.113.24.47]> <41F8678A.5020005@freebsd.org> <4d31b98a8d4f2abc19afd42edf17bf68@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F86B7E.3030006>