mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Calling code
@ 2011-06-08 13:16 Micha M.
  0 siblings, 0 replies; only message in thread
From: Micha M. @ 2011-06-08 13:16 UTC (permalink / raw)
  To: linux-kernel

Hi!

I'd like to know if it is possible to jump to a certain address, run code
from there and then return to the kernel-module (the caller). That code is
located somewhere in the physical address space and uses (internal) also
physical addesses. I tried to ioremap that function, but unfortunatly I
got some page faults causing an Oops. I realized that this approach will
not work regarding the fixed and absolute addresses in the code.

So is there a way to jump to a certain address, run code from there and
after execution return to the caller? I would prefere a way without
assembly :-)



Regards,

#micha


-- 
/* To err is human; to really fuck things up requires the root password */

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

only message in thread, other threads:[~2011-06-08 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08 13:16 Calling code Micha M.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®