summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 05:18:46 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 05:18:46 +0000
commit94646ec0e39546f2b306bd07ca75b45ce714a671 (patch)
tree61ab426ada938d04dc1be63284fa371a441b1948 /MdePkg/Library
parent2623855985360621b1af11e893d87808d5a1a426 (diff)
downloadedk2-platforms-94646ec0e39546f2b306bd07ca75b45ce714a671.tar.xz
Ecc clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5415 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BasePciExpressLib/PciLib.c5
-rw-r--r--MdePkg/Library/BasePciLibCf8/PciLib.c14
-rw-r--r--MdePkg/Library/BasePciLibPciExpress/PciLib.c14
3 files changed, 16 insertions, 17 deletions
diff --git a/MdePkg/Library/BasePciExpressLib/PciLib.c b/MdePkg/Library/BasePciExpressLib/PciLib.c
index fab8107af3..37d8bcd3b5 100644
--- a/MdePkg/Library/BasePciExpressLib/PciLib.c
+++ b/MdePkg/Library/BasePciExpressLib/PciLib.c
@@ -7,7 +7,7 @@
All assertions for I/O operations are handled in MMIO functions in the IoLib
Library.
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
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
@@ -48,8 +48,7 @@
@return The base address of PCI Express.
**/
-STATIC
-volatile VOID*
+VOID*
GetPciExpressBaseAddress (
VOID
)
diff --git a/MdePkg/Library/BasePciLibCf8/PciLib.c b/MdePkg/Library/BasePciLibCf8/PciLib.c
index 13c76c047f..3e13c67864 100644
--- a/MdePkg/Library/BasePciLibCf8/PciLib.c
+++ b/MdePkg/Library/BasePciLibCf8/PciLib.c
@@ -1,7 +1,7 @@
/** @file
PCI Library using Port CF8/CFC access.
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
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
@@ -63,10 +63,10 @@ UINT8
EFIAPI
PciWrite8 (
IN UINTN Address,
- IN UINT8 Data
+ IN UINT8 Value
)
{
- return PciCf8Write8 (Address, Data);
+ return PciCf8Write8 (Address, Value);
}
/**
@@ -391,10 +391,10 @@ UINT16
EFIAPI
PciWrite16 (
IN UINTN Address,
- IN UINT16 Data
+ IN UINT16 Value
)
{
- return PciCf8Write16 (Address, Data);
+ return PciCf8Write16 (Address, Value);
}
/**
@@ -719,10 +719,10 @@ UINT32
EFIAPI
PciWrite32 (
IN UINTN Address,
- IN UINT32 Data
+ IN UINT32 Value
)
{
- return PciCf8Write32 (Address, Data);
+ return PciCf8Write32 (Address, Value);
}
/**
diff --git a/MdePkg/Library/BasePciLibPciExpress/PciLib.c b/MdePkg/Library/BasePciLibPciExpress/PciLib.c
index 93f0af2cff..8cfa41c12a 100644
--- a/MdePkg/Library/BasePciLibPciExpress/PciLib.c
+++ b/MdePkg/Library/BasePciLibPciExpress/PciLib.c
@@ -1,7 +1,7 @@
/** @file
PCI Library using PC Express access.
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
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
@@ -63,10 +63,10 @@ UINT8
EFIAPI
PciWrite8 (
IN UINTN Address,
- IN UINT8 Data
+ IN UINT8 Value
)
{
- return PciExpressWrite8 (Address, Data);
+ return PciExpressWrite8 (Address, Value);
}
/**
@@ -391,10 +391,10 @@ UINT16
EFIAPI
PciWrite16 (
IN UINTN Address,
- IN UINT16 Data
+ IN UINT16 Value
)
{
- return PciExpressWrite16 (Address, Data);
+ return PciExpressWrite16 (Address, Value);
}
/**
@@ -719,10 +719,10 @@ UINT32
EFIAPI
PciWrite32 (
IN UINTN Address,
- IN UINT32 Data
+ IN UINT32 Value
)
{
- return PciExpressWrite32 (Address, Data);
+ return PciExpressWrite32 (Address, Value);
}
/**