Issam Haddad <ihaddad@asurent.com> wrote:
I need to be able to allocate memory in a driver and have a hardware
component directly access that memory. The hardware needs a physical
address. Is there a method by which this can be accomplished, without
reserving a certain amount of RAM during the startup code for this purpose?
Couple of ways. You can mmap() physical ram directly or you can use
shm_open() and shm_ctrl() and then mmap().
chris
–
cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<