[LinuxBIOS] RFC Winflashrom Architecture -- Current device driver (testbed)

Darmawan Salihun darmawan.salihun at gmail.com
Thu Jun 7 00:28:28 CEST 2007


Peter Stuge wrote:
> On Thu, Jun 07, 2007 at 12:12:45AM +0700, Darmawan Salihun wrote:
>   
>> NTSTATUS MapMmio(PDEVICE_OBJECT pDO, PIRP pIrp)
>>     
> [..]
>   
>>     pDO - pointer to the device object of this driver.
>>     pIrp - pointer to an I/O Request Packet.
>>     
>
> Uff. What's wrong with void * ? I guess it's not the Windows way.
>
>   
Yeah. That's how it is. So much Microsoft-defined data structures in the
device driver. It's just not save to use void * because of it.
Almost everything has their "accessor" functions, i.e. predefined way of
using. If we don't conform it may not work.

--Darmawan Salihun




More information about the coreboot mailing list