Fixed a syntax error in BasePciCf8Lib/PciLib.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@852 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1297,7 +1297,7 @@ PciCf8ReadBuffer (
|
|||||||
{
|
{
|
||||||
UINTN ReturnValue;
|
UINTN ReturnValue;
|
||||||
|
|
||||||
ASSERT_INVALID_PCI_ADDRESS (StartAddress);
|
ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
|
||||||
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
|
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
|
||||||
|
|
||||||
if (Size == 0) {
|
if (Size == 0) {
|
||||||
@@ -1396,7 +1396,7 @@ PciCf8WriteBuffer (
|
|||||||
{
|
{
|
||||||
UINTN ReturnValue;
|
UINTN ReturnValue;
|
||||||
|
|
||||||
ASSERT_INVALID_PCI_ADDRESS (StartAddress);
|
ASSERT_INVALID_PCI_ADDRESS (StartAddress, 0);
|
||||||
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
|
ASSERT (((StartAddress & 0xFFF) + Size) <= 0x100);
|
||||||
|
|
||||||
if (Size == 0) {
|
if (Size == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user