On Wed, 2015-08-26 at 01:53 +0000, Tian, Feng wrote: > Hi, Ben & Andrew > > The GetBarAttributes() returns a set of ACPI 2.0 resource descriptors > that describe the current configuration of the BARs of the PCI > controller. > > What I understood is the returned value of GetBarAttributes() is a > CPU address rather than a PCI address. From the view of PciIo, nobody > needs to know/use Bar's PCI address.
So that needs to be clarified in the spec (see the discussion on the workgroup, some people seem to disagree :) I'm happy with this approach however. It matches driver expectations and doesn't require changing the APIs. It will require some churn inside PciBusDxe to make it cope with the offsets but that's less of a problem as the overall APIs to drivers are unaffected and thus it's just a matter of me doing it :) Cheers, Ben. _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

