summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 09:38:43 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 09:38:43 +0000
commit38bbd3d91c38481d18c1a7e2049473c951ee98ed (patch)
treeae4da246ac9d5b8501d017de66aecf1c7c8bb8b4 /MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
parentd74eeda8a7ed223d49e59378f33b2bcfb1bb73b1 (diff)
downloadedk2-platforms-38bbd3d91c38481d18c1a7e2049473c951ee98ed.tar.xz
Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib MdePkg/Library/BaseDebugLibNull MdePkg/Library/BaseIoLibIntrinsic MdePkg/Library/BaseLib MdePkg/Library/BaseMemoryLib MdePkg/Library/BaseMemoryLibMmx MdePkg/Library/BaseMemoryLibOptDxe MdePkg/Library/BaseMemoryLibOptPei MdePkg/Library/BaseMemoryLibRepStr MdePkg/Library/BaseMemoryLibSse2 MdePkg/Library/BasePeCoffGetEntryPointLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5426 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c')
-rw-r--r--MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c48
1 files changed, 32 insertions, 16 deletions
diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
index 23ca5c68ed..8eec29551f 100644
--- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
+++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c
@@ -61,7 +61,7 @@ InternalGetMemoryMapAddress (
@param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT8
@@ -82,7 +82,7 @@ IoRead8 (
@param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT16
@@ -103,7 +103,7 @@ IoRead16 (
@param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT32
@@ -126,7 +126,7 @@ IoRead32 (
@param Port The I/O port to read.
- @return The value read.
+ @return The value read from Port.
**/
UINT64
@@ -149,7 +149,9 @@ IoRead64 (
@param Port The I/O port to write.
@param Value The value to write to the I/O port.
- @return The value written the I/O port.
+ @return The value written to the I/O port. It equals to the
+ input Value instead of the actual value read back from
+ the I/O port.
**/
UINT8
@@ -172,7 +174,9 @@ IoWrite8 (
@param Port The I/O port to write.
@param Value The value to write to the I/O port.
- @return The value written the I/O port.
+ @return The value written to the I/O port. It equals to the
+ input Value instead of the actual value read back from
+ the I/O port.
**/
UINT16
@@ -195,7 +199,9 @@ IoWrite16 (
@param Port The I/O port to write.
@param Value The value to write to the I/O port.
- @return The value written the I/O port.
+ @return The value written to the I/O port. It equals to the
+ input Value instead of the actual value read back from
+ the I/O port.
**/
UINT32
@@ -220,7 +226,9 @@ IoWrite32 (
@param Port The I/O port to write.
@param Value The value to write to the I/O port.
- @return The value written the I/O port.
+ @return The value written to the I/O port. It equals to the
+ input Value instead of the actual value read back from
+ the I/O port.
**/
UINT64
@@ -243,7 +251,7 @@ IoWrite64 (
@param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT8
@@ -272,7 +280,7 @@ MmioRead8 (
@param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT16
@@ -306,7 +314,7 @@ MmioRead16 (
@param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT32
@@ -340,7 +348,7 @@ MmioRead32 (
@param Address The MMIO register to read.
- @return The value read.
+ @return The value read from Address.
**/
UINT64
@@ -376,7 +384,9 @@ MmioRead64 (
@param Address The MMIO register to write.
@param Data The value to write to the MMIO register.
- @return The value written the memory address.
+ @return The value written to the Mmio. It equals to the
+ input Value instead of the actual value read back from
+ the Mmio.
**/
UINT8
@@ -405,7 +415,9 @@ MmioWrite8 (
@param Address The MMIO register to write.
@param Data The value to write to the MMIO register.
- @return The value written the memory address.
+ @return The value written to the Mmio. It equals to the
+ input Value instead of the actual value read back from
+ the Mmio.
**/
UINT16
@@ -439,7 +451,9 @@ MmioWrite16 (
@param Address The MMIO register to write.
@param Data The value to write to the MMIO register.
- @return The value written the memory address.
+ @return The value written to the Mmio. It equals to the
+ input Value instead of the actual value read back from
+ the Mmio.
**/
UINT32
@@ -473,7 +487,9 @@ MmioWrite32 (
@param Address The MMIO register to write.
@param Data The value to write to the MMIO register.
- @return The value written the memory address.
+ @return The value written to the Mmio. It equals to the
+ input Value instead of the actual value read back from
+ the Mmio.
**/
UINT64