X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiPciLibPciRootBridgeIo%2FPciLib.c;h=1f236753649b09d0b64165f32802ee3472a1d144;hp=ff95ec7862a49119b2dcaf46357ac53fef281fac;hb=59ceeabe504f4c7814f9560c411690a1ffdc31b2;hpb=c40a1556902e65bf4e998fad0c9a34684e84da10 diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c index ff95ec7862..1f23675364 100644 --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c @@ -1,7 +1,7 @@ /** @file PCI Library using PCI Root Bridge I/O Protocol. - Copyright (c) 2007 - 2008, Intel Corporation All rights + Copyright (c) 2007 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full @@ -169,6 +169,7 @@ PciRegisterForRuntimeAccess ( IN UINTN Address ) { + ASSERT_INVALID_PCI_ADDRESS (Address, 0); return RETURN_UNSUPPORTED; }