X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBasePciExpressLib%2FPciExpressLib.c;h=2220c9a4f94a855011eb769e0d6ef0233b849415;hp=f74410a565bd9574e3cc373578211165cdca6354;hb=59ceeabe504f4c7814f9560c411690a1ffdc31b2;hpb=c40a1556902e65bf4e998fad0c9a34684e84da10
diff --git a/MdePkg/Library/BasePciExpressLib/PciExpressLib.c b/MdePkg/Library/BasePciExpressLib/PciExpressLib.c
index f74410a565..2220c9a4f9 100644
--- a/MdePkg/Library/BasePciExpressLib/PciExpressLib.c
+++ b/MdePkg/Library/BasePciExpressLib/PciExpressLib.c
@@ -5,7 +5,7 @@
All assertions for I/O operations are handled in MMIO functions in the IoLib
Library.
- Copyright (c) 2006 - 2008, Intel Corporation
+ Copyright (c) 2006 - 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 text of the license may be found at
@@ -64,6 +64,7 @@ PciExpressRegisterForRuntimeAccess (
IN UINTN Address
)
{
+ ASSERT_INVALID_PCI_ADDRESS (Address);
return RETURN_UNSUPPORTED;
}