This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Help! VSR Table
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Michele Portolan <michele dot Portolan at imag dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 2 Apr 2004 22:03:47 +0200
- Subject: Re: [ECOS] Help! VSR Table
- References: <003301c418c0$e03fc6c0$6c81ab93@TIMAQLF129>
On Fri, Apr 02, 2004 at 04:43:34PM +0200, Michele Portolan wrote:
> > This looks more like you asked DDD to print 27 words from
> > 'hal_default_interrupt_vsr'.
> >
> That is in fact what I did. Is it wrong?
>
> >Have you dereferenced 'hal_vsr_table' somehow?
> I don't understand what you mean by that. Sorry
Its a C language term. Dereferences a pointer follows the pointer to
what it points to. In this cause, you have not printed out the VSR
table, you have printed out what the first entry of the table points
to, ie the function that is called by the vector. You can see this
because of the address. I would expect the vector table to be at
address 0. What you have shown is at address 0x40000000.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss