linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Running a section of code from internal memory
@ 2008-05-08 11:36 Sanal Kumar V K
  2008-05-08 12:45 ` Marco Stornelli
  2008-05-08 15:33 ` Scott Wood
  0 siblings, 2 replies; 5+ messages in thread
From: Sanal Kumar V K @ 2008-05-08 11:36 UTC (permalink / raw)
  To: linuxppc-embedded

Hi All,

I am porting a GW/router application to embedded Linux for a product
based on SoC; following is the version information:

kernel: 2.6.10
uClibc: 0.9.27
gcc: 3.4.3
binutils: 2.15.94.0.2.2

A small part of the code needs to run from the on-chip "L2 scratch" for
getting optimum performance. I would really appreciate if some could
give me some pointers regarding the following questions:

1. Is #pragma section supported by gcc.
The compiler prints this warning "ignoring #pragma section" and the
pragma is ignored indicating that it is not supported. Is there any way
I can get the pragma working for gcc or any alternative?

2. Is there any patch available to modify the kernel thread creation so
as to place the stack and tcb in the user configured addresses for
kernel threads (similar to taskInit() in VxWorks)?

Thanks in advance,
Sanal

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-12 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 11:36 Running a section of code from internal memory Sanal Kumar V K
2008-05-08 12:45 ` Marco Stornelli
2008-05-08 15:33 ` Scott Wood
2008-05-12 14:33   ` Sanal Kumar V K
2008-05-12 15:56     ` Scott Wood

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 NNTP newsgroup(s).