From 8960cdebac8c75f13f1cb6afa932f0ae323a138b Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 13 Jun 2006 06:31:11 +0000 Subject: =?UTF-8?q?=09BaseMemoryLib=20(BaseMemoryLibRepStr):=20=09Fix=20a?= =?UTF-8?q?=20logic=20error=20in=20SetMem64=20();=20The=20correct=20stride?= =?UTF-8?q?=20should=20be=208=20instead=20of=204.=20=09BasePrintLib:=20=09?= =?UTF-8?q?Fix=20Printf(=E2=80=9C%\n=E2=80=9D)=20passer=20error.=20=09Fix?= =?UTF-8?q?=20BufferSize=20=3D=200,=201=20issue=20=09Fix=20some=20missing?= =?UTF-8?q?=20ASSERT=20()s=20=09Move=20MAXIMUM=5FVALUE=5FCHARACTERS=20from?= =?UTF-8?q?=20PrintLibInternal.h=20to=20PrintLib.h=20=09ReportStatusCodeLi?= =?UTF-8?q?b:=20=09Add=20CONST=20modifier=20to=20some=20interfaces=20=09Mo?= =?UTF-8?q?dify=20=09DebugLib:=20=09Replace=20some=20Unicode=20in=20commen?= =?UTF-8?q?ts.=20=09PeiServicesTablePointerLib=20=09Add=20ASSERT()s=20=09P?= =?UTF-8?q?ciLib:=20=09Remove=20unnecessary=20ASSERT()s=20in=20PciRead/Wri?= =?UTF-8?q?teBuffer()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@496 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePciCf8Lib/PciLib.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'MdePkg/Library/BasePciCf8Lib/PciLib.c') diff --git a/MdePkg/Library/BasePciCf8Lib/PciLib.c b/MdePkg/Library/BasePciCf8Lib/PciLib.c index 108c95291c..2f82fbe2c8 100644 --- a/MdePkg/Library/BasePciCf8Lib/PciLib.c +++ b/MdePkg/Library/BasePciCf8Lib/PciLib.c @@ -1299,8 +1299,6 @@ PciCf8ReadBuffer ( UINTN EndAddress; ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); - ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); - ASSERT ((StartAddress + Size - 1) <= 0x0FFFFFFF); ASSERT (Buffer != NULL); EndAddress = StartAddress + Size; @@ -1388,8 +1386,6 @@ PciCf8WriteBuffer ( UINTN EndAddress; ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0); - ASSERT (((StartAddress & 0xFFF) + Size) <= 0x1000); - ASSERT ((StartAddress + Size - 1) <= 0x0FFFFFFF); ASSERT (Buffer != NULL); EndAddress = StartAddress + Size; -- cgit v1.2.3