public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Linus Nielsen Feltzing" <linus@haxx.se>
To: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] MPC823 interrupt problem?
Date: Tue, 03 Apr 2001 14:53:00 -0000	[thread overview]
Message-ID: <007401c0bc88$c444ef00$550641d5@telia.com> (raw)
In-Reply-To: <ot66gnn2d1.fsf@thinktwice.zoftcorp.dk>

> CYGARC_PPC_EXCEPTION_DECREMENT is a preprocessor symbol which is used
> to adjuste the stack on exceptions. It should never form part of an
> address and I'm surprised that the debugger knows about it at all.

Are you sure? Isn't this the decrementer exception?
This is a common thing when starting up an MPC8xx processor. The decrementer
will start decrementing as soon as the clocks are set up, and since it is
initiated to 0 at reset, it will trigger a decrementer exception as soon as
the interrupt disable bit is cleared in MSR.

I guess that is common knowledge, so I'd rather find out why there isn't
any code in the exception vector area to handle this exception. Maybe
the interrupt prefix bit is modified in MSR by mistake? How is your MPC
configured at reset (I mean the reset configuration on the data bus)?

/Linus


  reply	other threads:[~2001-04-03 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  6:18 林志勝
2001-04-02  1:16 ` Jesper Skov
2001-04-03 14:53   ` Linus Nielsen Feltzing [this message]
2001-04-04  6:00   ` ???

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='007401c0bc88$c444ef00$550641d5@telia.com' \
    --to=linus@haxx.se \
    --cc=ecos-discuss@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).