diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
commit | f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a (patch) | |
tree | 2937d148454e21adf29de0090e13b2fe9838711b /MdePkg/Library/PeiIoLibCpuIo | |
parent | 6aab82140b20fab408f79dd428555b5d03370f72 (diff) | |
download | edk2-platforms-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.tar.xz |
Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BasePeCoffLib
MdePkg/Library/CpuLib
MdePkg/Library/DxeMemoryLib
MdePkg/Library/DxePiLib
MdePkg/Library/PeiIoLib
MdePkg/Library/PeiMemoryLib
MdePkg/Library/UefiBootServicesTableLib
MdePkg/Library/UefiLib
MdePkg/Library/UefiRuntimeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5464 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiIoLibCpuIo')
-rw-r--r-- | MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c | 8 | ||||
-rw-r--r-- | MdePkg/Library/PeiIoLibCpuIo/IoLib.c | 24 |
2 files changed, 19 insertions, 13 deletions
diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c b/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c index bbcc06751e..75dc1f8aa4 100644 --- a/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c +++ b/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c @@ -133,7 +133,7 @@ IoAndThenOr8 ( @param EndBit The ordinal of the most significant bit in the bit field.
Range 0..7.
- @return The value read.
+ @return The value read from Port.
**/
UINT8
@@ -413,7 +413,7 @@ IoAndThenOr16 ( @param EndBit The ordinal of the most significant bit in the bit field.
Range 0..15.
- @return The value read.
+ @return The value read from Port.
**/
UINT16
@@ -693,7 +693,7 @@ IoAndThenOr32 ( @param EndBit The ordinal of the most significant bit in the bit field.
Range 0..31.
- @return The value read.
+ @return The value read from Port.
**/
UINT32
@@ -1536,7 +1536,7 @@ MmioAndThenOr16 ( @param EndBit The ordinal of the most significant bit in the bit field.
Range 0..15.
- @return The value read.
+ @return The value read from Address.
**/
UINT16
diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c index bc8319eb29..e3622e6329 100644 --- a/MdePkg/Library/PeiIoLibCpuIo/IoLib.c +++ b/MdePkg/Library/PeiIoLibCpuIo/IoLib.c @@ -31,7 +31,7 @@ @param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT8
@@ -94,7 +94,7 @@ IoWrite8 ( @param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT16
@@ -163,7 +163,7 @@ IoWrite16 ( @param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT32
@@ -232,7 +232,7 @@ IoWrite32 ( @param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT64
@@ -301,7 +301,7 @@ IoWrite64 ( @param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT8
@@ -331,7 +331,8 @@ MmioRead8 ( @param Address The MMIO register to write.
@param Value The value to write to the MMIO register.
-
+
+ @return The Value written back to Mmio register.
**/
UINT8
EFIAPI
@@ -362,7 +363,7 @@ MmioWrite8 ( @param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT16
@@ -396,6 +397,8 @@ MmioRead16 ( @param Address The MMIO register to write.
@param Value The value to write to the MMIO register.
+
+ @return The Value written back to Mmio register
**/
UINT16
@@ -430,7 +433,7 @@ MmioWrite16 ( @param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT32
@@ -464,6 +467,8 @@ MmioRead32 ( @param Address The MMIO register to write.
@param Value The value to write to the MMIO register.
+
+ @return The Value written back to Mmio register
**/
UINT32
@@ -498,7 +503,7 @@ MmioWrite32 ( @param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT64
@@ -533,6 +538,7 @@ MmioRead64 ( @param Address The MMIO register to write.
@param Value The value to write to the MMIO register.
+ @return The Value written back to Mmio register
**/
UINT64
EFIAPI
|