public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] utlb_vector & other_vector location in RAM version
@ 2011-01-02 19:20 Elad Yosef
  0 siblings, 0 replies; only message in thread
From: Elad Yosef @ 2011-01-02 19:20 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-02 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-02 19:20 [ECOS] utlb_vector & other_vector location in RAM version Elad Yosef

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).