Calling function from address

Micha M. kernelnewbies at mail.i88.de
Tue Jun 7 16:47:16 EDT 2011


Hi!


Is it possible to call a function that is somewere in the physical-address
space? So I'd like to jump to a certain physical address, execute the code
there and then return to my kernel module. 
I already tried to ioremap that address and cast the new address to a
funtion pointer and then call the function, but there where some page
faults.


Regards

#micha

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



More information about the Kernelnewbies mailing list