Pass through kernel memory manager
Paul Chavent
paul.chavent at fnac.net
Fri Feb 7 15:29:15 EST 2014
Hi
I'm working on an ARM926EJS based SOM (OMAPL138). The ARM has internal memory spaces (8k one and 128k one) where i would like to put some code.
I thought to use something like :
void foobar (void) __attribute__ ((section ("bar")));
Then link with
-Wl,--section-start,bar=FFFF1000
But the Linux loader fails to load this segment.
So, is it worth to try to achieve to run code at desired position ?
Is there any way to tell Linux to 1:1 map some physical regions to processes address space ? Perhaps the memmap= kernel parameter ?
Thanks for your help.
Paul.
More information about the Kernelnewbies
mailing list