linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Olaf Hering <olh@suse.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] return to OF via trap, not exit
Date: Fri, 24 Mar 2006 10:11:28 +1100	[thread overview]
Message-ID: <1143155488.23790.5.camel@localhost.localdomain> (raw)
In-Reply-To: <20060323210357.GC24667@suse.de>

On Thu, 2006-03-23 at 22:03 +0100, Olaf Hering wrote:
>  On Mon, Mar 06, Segher Boessenkool wrote:
> 
> > That's better than always calling trap, sure.  Is there any reason
> > you can't just do it on Macs though?  Because the problem you're trying
> > to work around only happens there.
> 
> Maybe something like this? Only compile tested
> 
> 
> Do not call prom exit prom_panic. It clears the screen and the exit message is lost.
> On some (or all?) pmacs it causes another crash when OF tries to print the
> date and time in its banner.
> 
> Set of_platform earlier to catch more prom_panic() calls.

Looks reasonable, assuming it works :)

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

  reply	other threads:[~2006-03-23 23:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04 19:10 [PATCH] return to OF via trap, not exit Olaf Hering
2006-03-06  1:12 ` Michael Ellerman
2006-03-06  7:38   ` Olaf Hering
2006-03-06  7:41     ` Segher Boessenkool
2006-03-06  7:43       ` Olaf Hering
2006-03-06  7:46         ` Segher Boessenkool
2006-03-06  7:49           ` Olaf Hering
2006-03-06  7:57             ` Segher Boessenkool
2006-03-23 21:03               ` Olaf Hering
2006-03-23 23:11                 ` Michael Ellerman [this message]
2006-03-24 12:13                 ` Segher Boessenkool

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1143155488.23790.5.camel@localhost.localdomain \
    --to=michael@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=olh@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).