This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

utlb_vector & other_vector location in RAM version


Hi,
I'm using the default template for MIPS32 4Ke.
I ported to my platform from the Atlas examples.

In my target the application will be loaded by Tftp to RAM.
I have edited the RAM memory layout files to fit my platform (1 RAM segment).
When I set the RAM address to start in 0x8000:0000
The txt segment goes over the vsr_table (located in 0x8000:0200) and the VVT.
If I change it to start above the 2 tables.
I find the utlb_vector and the other_vector in a wrong place, The MIPS
looks in 0x8000:0000 and 0x8000:0180.
The vector are in 0x8000:0400 and 0x8000:0080.

I have sparated the rom_vectors section from the general RAM segment
and I still get that the other_vector is located in offset 0x80 from
the rom_vectors start address.
(the utlb_vector is now o.k in offset 0x0)
I added some asm code in offset 0x180 do jump to offset 0x80, but
that's a patch.

Does any one can help me to place the other_vector in the correct place?

Thanks

elad

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]