From 38bbd3d91c38481d18c1a7e2049473c951ee98ed Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 8 Jul 2008 09:38:43 +0000 Subject: 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 --- MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c | 31 +++++++++++++++++++++------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c') diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c index 9fec1bcae9..1e903a7e25 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c @@ -63,7 +63,7 @@ void _ReadWriteBarrier (void); @param Port The I/O port to read. - @return The value read. + @return The value read from Port. **/ UINT8 @@ -119,7 +119,7 @@ IoWrite8 ( @param Port The I/O port to read. - @return The value read. + @return The value read from Port. **/ UINT16 @@ -177,7 +177,7 @@ IoWrite16 ( @param Port The I/O port to read. - @return The value read. + @return The value read from Port. **/ UINT32 @@ -236,7 +236,7 @@ IoWrite32 ( @param Address The MMIO register to read. - @return The value read. + @return The value read from Address. **/ UINT8 @@ -262,7 +262,11 @@ MmioRead8 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. - + + @return The value written to the Mmio. It equals to the input + Value instead of the actual value read back from the + Mmio. + **/ UINT8 EFIAPI @@ -285,7 +289,7 @@ MmioWrite8 ( @param Address The MMIO register to read. - @return The value read. + @return The value read from Address. **/ UINT16 @@ -312,6 +316,9 @@ MmioRead16 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + + @return The value read from the Mmio after wrote specified + Value. **/ UINT16 @@ -336,7 +343,7 @@ MmioWrite16 ( @param Address The MMIO register to read. - @return The value read. + @return The value read from Address. **/ UINT32 @@ -363,6 +370,10 @@ MmioRead32 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + + @return The value written to the Mmio. It equals to the input + Value instead of the actual value read back from the + Mmio. **/ UINT32 @@ -387,7 +398,7 @@ MmioWrite32 ( @param Address The MMIO register to read. - @return The value read. + @return The value read from Address. **/ UINT64 @@ -415,6 +426,10 @@ MmioRead64 ( @param Address The MMIO register to write. @param Value The value to write to the MMIO register. + @return The value written to the Mmio. It equals to the input + Value instead of the actual value read back from the + Mmio. + **/ UINT64 EFIAPI -- cgit v1.2.3