From: Gary Thomas <gthomas@cambridge.redhat.com>
To: Christoph Csebits <Christoph.Csebits@frequentis.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] vector table
Date: Thu, 03 May 2001 07:49:00 -0000 [thread overview]
Message-ID: <XFMail.20010503084946.gthomas@cambridge.redhat.com> (raw)
In-Reply-To: <20010503161547.A27137@frequentis.com>
On 03-May-2001 Christoph Csebits wrote:
> On Thu, May 03, 2001 at 07:30:02AM -0600, Gary Thomas wrote:
>>
>> On 03-May-2001 Christoph Csebits wrote:
>> > i have a problem setting up the vector tables
>> >
>> > nm gives me:
>>
>> What?
> nm - list symbols from object files.
>
> 0000000000010900 ? __exception_decrementer
>
> this line shows me the the exception handler for
> the decrementer interrupt is located at offset 0x10900
> but it should located at 0x00900 (MSR[IP]=0).
>
> In other words:
> A decrementer exception is vectored to 0x00900 but
> the belonging handler waits at 0x10900.
>
> or am i completely wrong?
>
Actually, the contents of the exception tables at 0x00000000
get created from the loaded values at 0x10000 (if you tell
eCos to copy the vectors). Thus, the code for the decrementer
at 0x10900 will get moved to 0x900.
>> For this mode of operation, make sure that you set
>> CYGSEM_HAL_POWERPC_COPY_VECTORS
> turned on
>
>> Also, make sure that you turn off
>> CYGSEM_HAL_USE_ROM_MONITOR
> turned off
OK, so what happens when you run it? How far does it get?
One thing you could try is to include GDB stubs in your application
and then connect to it via GDB. Just load & start it and you should
get a GDB prompt $T<<STUFF>> on the debug serial port at 38400/8N1.
next prev parent reply other threads:[~2001-05-03 7:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-03 6:24 Christoph Csebits
2001-05-03 6:30 ` Gary Thomas
2001-05-03 7:16 ` Christoph Csebits
2001-05-03 7:49 ` Gary Thomas [this message]
2001-05-03 8:07 ` Christoph Csebits
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=XFMail.20010503084946.gthomas@cambridge.redhat.com \
--to=gthomas@cambridge.redhat.com \
--cc=Christoph.Csebits@frequentis.com \
--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).