kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: paul.chavent@fnac.net (Paul Chavent)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Pass through kernel memory manager
Date: Fri, 07 Feb 2014 21:29:15 +0100	[thread overview]
Message-ID: <52F5421B.4070700@fnac.net> (raw)

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.

             reply	other threads:[~2014-02-07 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 20:29 Paul Chavent [this message]
2014-02-19 23:48 ` Pass through kernel memory manager Peter Teoh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52F5421B.4070700@fnac.net \
    --to=paul.chavent@fnac.net \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).