Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Jordan Justen
On 2014-12-04 17:04:52, Andrew Fish wrote: > > On Dec 4, 2014, at 4:30 PM, Jordan Justen > wrote: > > On 2014-12-04 15:32:50, Scott Duplichan wrote: > > True, but the chosen name is quite confusing. PCI CF8 predates UEFI > (and even EFI) by years. When someone speaks

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Scott Duplichan
Andrew Fish [mailto:af...@apple.com] wrote: Sent: Thursday, December 04, 2014 07:05 PM To: edk2-devel@lists.sourceforge.net Cc: Scott Duplichan; rafaelrodrigues.mach...@gmail.com Subject: Re: [edk2] Possible problem with PciCf8Lib On Dec 4, 2014, at 4:30 PM, Jordan Justen

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Andrew Fish
> On Dec 4, 2014, at 4:30 PM, Jordan Justen wrote: > > On 2014-12-04 15:32:50, Scott Duplichan wrote: >> Jordan Justen [mailto:jordan.l.jus...@intel.com] wrote: >> >> ]On 2014-12-04 08:00:35, Scott Duplichan wrote: >> ]> Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: >> ]> >>

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Jordan Justen
On 2014-12-04 15:32:50, Scott Duplichan wrote: > Jordan Justen [mailto:jordan.l.jus...@intel.com] wrote: > > ]On 2014-12-04 08:00:35, Scott Duplichan wrote: > ]> Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: > ]> > ]> ]Hi everyone > ]> ] > ]> ]I'm facing a problem with a system

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Scott Duplichan
Jordan Justen [mailto:jordan.l.jus...@intel.com] wrote: ]On 2014-12-04 08:00:35, Scott Duplichan wrote: ]> Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: ]> ]> ]Hi everyone ]> ] ]> ]I'm facing a problem with a system and I'd like some help to check ]> ]one strange behavior. At t

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Kinney, Michael D
t; Scott Duplichan; rafaelrodrigues.mach...@gmail.com Subject: Re: [edk2] Possible problem with PciCf8Lib On 2014-12-04 08:00:35, Scott Duplichan wrote: > Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: > > ]Hi everyone > ] > ]I'm facing a problem with a system and I&#x

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Jordan Justen
On 2014-12-04 08:00:35, Scott Duplichan wrote: > Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: > > ]Hi everyone > ] > ]I'm facing a problem with a system and I'd like some help to check > ]one strange behavior. At the UDK2014.SP1\MdePkg\Include\Library\PciCf8Lib.h > ] > ]We have

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Paolo Bonzini
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,Dev

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Paolo Bonzini
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,Dev

Re: [edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Scott Duplichan
Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] wrote: ]Hi everyone ] ]I'm facing a problem with a system and I'd like some help to check ]one strange behavior. At the UDK2014.SP1\MdePkg\Include\Library\PciCf8Lib.h ] ]We have the following macro: ]#define PCI_CF8_LIB_ADDRESS(Bus,Device,F

[edk2] Possible problem with PciCf8Lib

2014-12-04 Thread Rafael Machado
Hi everyone I'm facing a problem with a system and I'd like some help to chec one sttange behavior. At the UDK2014.SP1\MdePkg\Include\Library\PciCf8Lib.h We have the following macro: #define PCI_CF8_LIB_ADDRESS(Bus,Device,Function,Offset) \ (((Offset) & 0xfff) | (((Function) & 0x07) << 12) | ((