On 04/12/2014 17:00, Scott Duplichan wrote:
> ]
> ]#define PCI_CF8_LIB_ADDRESS(Bus,Device,Function,Offset) \
> ]  (((Offset) & 0xff) | (((Function) & 0x07) << 8) | (((Device) & 0x1f) << 
> 16) | (((Bus) & 0xff) << 24))
> 
> I think something more like this...
> #define PCI_CF8_LIB_ADDRESS(Bus,Device,Function,Offset) \
>   (((Offset) & 0xfc) | (((Function) & 0x07) << 8) | (((Device) & 0x1f) << 11) 
> | (((Bus) & 0xff) << 16))

I agree.

Paolo


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to