diff options
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
|