From 59ceeabe504f4c7814f9560c411690a1ffdc31b2 Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 14 May 2009 03:13:31 +0000 Subject: 1. Add address check for "RegisterForRuntime" APIs of PciLib, PciCf8Lib, PciExpressLib, and PciSegmentLib. 2. Update ASSERT condition for PciCf8Lib, and PciSegmentLib class. 3. According to MDE Lib Spec, add check for reserved bit field 63..48 for PCI segment address. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8311 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePciExpressLib/PciExpressLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MdePkg/Library/BasePciExpressLib') 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; } -- cgit v1.2.3