This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Help! VSR Table
- From: "Michele Portolan" <michele dot Portolan at imag dot fr>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 2 Apr 2004 16:05:28 +0200
- Subject: [ECOS] Help! VSR Table
I am trying to understand VSR use and priciple beacuse i will probably have
to write some application-specific VSR.
For that reason I tried to visualise the hal_vsr_table, but I cannot
undestand the results I get!
In "vector.S" (I use Sparc) I found its definition:
! hal_vsr_table...
.section ".data"
.balign 4
.global hal_vsr_table
hal_vsr_table:
.rept 16
.word hal_default_interrupt_vsr
.endr
.rept 11
.word hal_default_exception_vsr
.endr
Then from DDD I asked to print 27 word in memory format, starting from
"hal_vsr_table" and here is what I got:
0x40006878 <hal_default_interrupt_vsr>: 0xae0c2007 0xac102001
0xad2d8017 0xab500000
0x40006888 <hal_default_interrupt_vsr+16>: 0x80a54016 0x12800014 0xae100001
0xab356001
0x40006898 <hal_default_interrupt_vsr+32>: 0xad2da007 0x82158015 0x81e00000
0x81904000
0x400068a8 <hal_default_interrupt_vsr+48>: 0x1000000 0x1000000 0x1000000
0xe03ba000
0x400068b8 <hal_default_interrupt_vsr+64>: 0xe43ba008 0xe83ba010 0xec3ba018
0xf03ba020
0x400068c8 <hal_default_interrupt_vsr+80>: 0xf43ba028 0xf83ba030
0xfc3ba038 0x81e80000
0x400068d8 <hal_default_interrupt_vsr+96>: 0x82100017 0x9c27a080 0xc03ba040
Shouldn't I have found insted 16 times "hal_default_interrupt_vsr" address
and 11 times "hal_default_exception_vsr"?
Please help, I am really dazed and I can't get out of it by myself!
Michele
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss