If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 7, then ASSERT().\r
If EndBit is greater than 7, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 15, then ASSERT().\r
If EndBit is greater than 15, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to read.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
If the register specified by Address >= 0x100, then ASSERT().\r
If StartBit is greater than 31, then ASSERT().\r
If EndBit is greater than 31, then ASSERT().\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
\r
@param Address PCI configuration register to write.\r
@param StartBit The ordinal of the least significant bit in the bit field.\r
If StartAddress > 0x0FFFFFFF, then ASSERT().\r
If the register specified by StartAddress >= 0x100, then ASSERT().\r
If ((StartAddress & 0xFFF) + Size) > 0x100, then ASSERT().\r
If StartAddress > 0x0FFFFFFF, then ASSERT().\r
If the register specified by StartAddress >= 0x100, then ASSERT().\r
If ((StartAddress & 0xFFF) + Size) > 0x100, then ASSERT().\r
- If (StartAddress + Size - 1) > 0x0FFFFFFF, then ASSERT().\r
- If Buffer is NULL, then ASSERT().\r
+ If Size > 0 and Buffer is NULL, then ASSERT().\r
If StartAddress > 0x0FFFFFFF, then ASSERT().\r
If the register specified by StartAddress >= 0x100, then ASSERT().\r
If ((StartAddress & 0xFFF) + Size) > 0x100, then ASSERT().\r
If StartAddress > 0x0FFFFFFF, then ASSERT().\r
If the register specified by StartAddress >= 0x100, then ASSERT().\r
If ((StartAddress & 0xFFF) + Size) > 0x100, then ASSERT().\r
- If (StartAddress + Size - 1) > 0x0FFFFFFF, then ASSERT().\r
- If Buffer is NULL, then ASSERT().\r
+ If Size > 0 and Buffer is NULL, then ASSERT().\r
//\r
// Write a byte if StartAddress is byte aligned\r
//\r
PciCf8Write8 (StartAddress, *(UINT8*)Buffer);\r
StartAddress += sizeof (UINT8);\r
//\r
// Write a byte if StartAddress is byte aligned\r
//\r
PciCf8Write8 (StartAddress, *(UINT8*)Buffer);\r
StartAddress += sizeof (UINT8);\r
//\r
// Write a word if StartAddress is word aligned\r
//\r
PciCf8Write16 (StartAddress, *(UINT16*)Buffer);\r
StartAddress += sizeof (UINT16);\r
//\r
// Write a word if StartAddress is word aligned\r
//\r
PciCf8Write16 (StartAddress, *(UINT16*)Buffer);\r
StartAddress += sizeof (UINT16);\r
//\r
// Write as many double words as possible\r
//\r
PciCf8Write32 (StartAddress, *(UINT32*)Buffer);\r
StartAddress += sizeof (UINT32);\r
//\r
// Write as many double words as possible\r
//\r
PciCf8Write32 (StartAddress, *(UINT32*)Buffer);\r
StartAddress += sizeof (UINT32);\r
//\r
// Write the last remaining word if exist\r
//\r
PciCf8Write16 (StartAddress, *(UINT16*)Buffer);\r
StartAddress += sizeof (UINT16);\r
//\r
// Write the last remaining word if exist\r
//\r
PciCf8Write16 (StartAddress, *(UINT16*)Buffer);\r
StartAddress += sizeof (UINT16);\r
//\r
// Write the last remaining byte if exist\r
//\r
PciCf8Write8 (StartAddress, *(UINT8*)Buffer);\r
}\r
\r
//\r
// Write the last remaining byte if exist\r
//\r
PciCf8Write8 (StartAddress, *(UINT8*)Buffer);\r
}\r
\r