PPC Privileged mode
Benjamin Herrenschmidt
bh40 at calva.net
Sun Feb 21 00:31:44 EST 1999
On Fri, Feb 19, 1999, Steven Bytnar <s-bytnar at uiuc.edu> wrote:
>How do I exit cleanly from PPC supervisor mode to MacOS? I am trying
>to work with the code in BootX, but it was meant to execute the
>kernel and never return. My purpose is only to read and write to
>supervisor read/writable registers on the chip without destroying
>MacOS.
Use the code in "GrabG3CacheSettings". It uses a different mecanism by
patching MacOS "sc" exception handler.
--
E-Mail: <mailto:bh40 at calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]
More information about the Linuxppc-dev
mailing list