diff options
-rw-r--r-- | MdePkg/Library/BasePciCf8Lib/PciLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BasePciCf8Lib/PciLib.c b/MdePkg/Library/BasePciCf8Lib/PciLib.c index ca9b17abe2..cbbd407ead 100644 --- a/MdePkg/Library/BasePciCf8Lib/PciLib.c +++ b/MdePkg/Library/BasePciCf8Lib/PciLib.c @@ -1297,7 +1297,7 @@ PciCf8ReadBuffer ( {
UINTN ReturnValue;
- ASSERT_INVALID_PCI_ADDRESS (StartAddress);
+ ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
if (Size == 0) {
@@ -1396,7 +1396,7 @@ PciCf8WriteBuffer ( {
UINTN ReturnValue;
- ASSERT_INVALID_PCI_ADDRESS (StartAddress);
+ ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
if (Size == 0) {
|