* Darmawan Salihun <[EMAIL PROTECTED]> [070424 17:37]:
> Hi all,
>    Sorry if this is quite very basic question. I haven't got the time to read
> the latest version of linuxbios's flashrom. Is the basic mechanism to access
> the BIOS chip address space is through mmap function? haven't grep the code
> though :-(.

Yes. The bios chip is mmapped into the processes address space. There
are some occurences of mmap over the place. I recently cleaned the code
up a little bit, dropping multiple open() calls on /dev/mem.

Do we need a wrapper for those "map-physical-memory" functions?

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED]  • http://www.coresystems.de/

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to