public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] XIP some kernel parts
@ 2009-07-11 16:40 Sergei Gavrikov
  2009-07-12  4:31 ` [ECOS] " Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Gavrikov @ 2009-07-11 16:40 UTC (permalink / raw)
  To: eCos discuss list

Hi Folks,

Did anybody try to XIP (exucute in a place) in the _different_ places the
parts of eCos kernel itself? I keep in a mind GCC attribute __section__.

May be it is a stupid idea, but, I thought that would help me to reduce
the ISR/DSR latencies on my target. The different places are: 1) fast
CPU SRAM and 2) slow external RAM. It's pity, but, I cannot put whole
eCos kernel into SRAM (16K). Did anybody try the same (to run a kernel
is divided on the chunks (critical/not critical))?

Why I ask about? I can successfully handle the ISRs every 125 uS using
ROM startup, but, I cannot do the same when application is running in
the external RAM (RAM or ROMRAM startup). And I thought about fast and
unused SRAM for the eCos RTC ISR  handler, handler for pending DSRs,
etc. i.e. to wrap some parts of the kernel with some attribute, e.g.

#define __xipsram noinline __attribute__ ((__section__ (".sram")))

If anybody did try it. Which the routines you tweaked?  Thanks in
advance for any critic and comments.

Sergei

P.S.

I would glad hear a talk about the "idea" itself, before anybody will
pronounce "FIQ", "VSR" :-) I dislike an assembler.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2009-07-12  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-11 16:40 [ECOS] XIP some kernel parts Sergei Gavrikov
2009-07-12  4:31 ` [ECOS] " Sergei Gavrikov

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