Jonathan Haws wrote:
>>> How can I get that pointer?  Unfortunately I cannot simply use the
>>>       
>> address of the flash.  Is there some magical function call that
>> gives me access to that portion of the memory space?
>>     
>> $ man 2 mmap
>>
>> You want MAP_SHARED and O_SYNC.
>>     
>
>
> To use that I need to have a file descriptor to a device, do I not?  However, 
> I do not have a base flash driver to give me that file descriptor.  Am I 
> missing something with that call?
>   

/dev/mem


b.g.

-- 
Bill Gatliff
b...@billgatliff.com

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to