Hi,
I'm using the UDK2010 package and I was able to read/write the PCI config
space by using the PCIReadCf8/WriteCf8 functions (PciLib/PciExpresslib). I
was also able to access the config space using the memory mapped PCI
functions ( memread8/memwrite8) etc.
However, if I try and get the base address ( using one of the helper
functions defined in the Lib) and then add the offset to it and
dereference this , I don't read the expected value. Is there any virtual
mapping being done or to be done for memory mapped access of PCI Config
space in order for this direct method to work.
I'm trying to do the above steps in an efi application that is loaded via
the Shell prior to the OS booting.
Thanks !
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel