Carl-Daniel Hailfinger wrote:
- Test if the Windows kernel driver still works on Windows 7 (or
anything post XP). 8. Make pcilib usable without including it.
Darmawan's code works as is, I tried it today on an i945 box running Windows XP. But the code is based on a very old version of flashrom.
The two main issues are - memory access - IO access (including PCI access)
PCI access is nicely implemented by libpci/pci utils, which is available for Windows since 2.1.99. libpci needs WinIo, which is an abstraction layer for memory and IO accesses, similar to DirectIO on OSX: http://www.internals.com/utilities_main.htm
It would likely make sense to base a new port on WinIo and libpci.
Stefan