summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 06:13:43 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-10 06:13:43 +0000
commit2281e7a9c32eeb32b833daf6b33ad26e437551da (patch)
tree73720319b35689207ba75595ca809be24d19c6cd /MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c
parent4c395b6d955793d16e542c3446df88b828493838 (diff)
downloadedk2-2281e7a9c32eeb32b833daf6b33ad26e437551da.tar.gz
edk2-2281e7a9c32eeb32b833daf6b33ad26e437551da.tar.bz2
edk2-2281e7a9c32eeb32b833daf6b33ad26e437551da.zip
Synchronize the h files with c files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6967 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c')
-rw-r--r--MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c61
1 files changed, 28 insertions, 33 deletions
diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c
index 0d4ee40724..bfd9d03106 100644
--- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c
+++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c
@@ -26,7 +26,7 @@
@param Address The MMIO register to read.
- @return The value read from Address.
+ @return The value read.
**/
UINT8
@@ -50,9 +50,7 @@ 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.
+ @return Value.
**/
UINT8
@@ -73,10 +71,11 @@ MmioWrite8 (
operations are serialized.
If 16-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 16-bit boundary, then ASSERT().
@param Address The MMIO register to read.
- @return The value read from Address.
+ @return The value read.
**/
UINT16
@@ -97,13 +96,12 @@ MmioRead16 (
and write operations are serialized.
If 16-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 16-bit boundary, then ASSERT().
@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.
+ @return Value.
**/
UINT16
@@ -125,10 +123,11 @@ MmioWrite16 (
operations are serialized.
If 32-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 32-bit boundary, then ASSERT().
@param Address The MMIO register to read.
- @return The value read from Address.
+ @return The value read.
**/
UINT32
@@ -149,13 +148,12 @@ MmioRead32 (
and write operations are serialized.
If 32-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 32-bit boundary, then ASSERT().
@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.
+ @return Value.
**/
UINT32
@@ -177,10 +175,11 @@ MmioWrite32 (
operations are serialized.
If 64-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 64-bit boundary, then ASSERT().
@param Address The MMIO register to read.
- @return The value read from Address.
+ @return The value read.
**/
UINT64
@@ -201,13 +200,11 @@ MmioRead64 (
and write operations are serialized.
If 64-bit MMIO register operations are not supported, then ASSERT().
+ If Address is not aligned on a 64-bit boundary, then ASSERT().
@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
@@ -233,7 +230,7 @@ MmioWrite64 (
@param Port The I/O port to read.
- @return The value read from Port.
+ @return The value read.
**/
UINT8
@@ -265,9 +262,7 @@ IoRead8 (
@param Port The I/O port to write.
@param Value The value to write to 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.
+ @return The value written the I/O port.
**/
UINT8
@@ -293,10 +288,11 @@ IoWrite8 (
serialized.
If 16-bit I/O port operations are not supported, then ASSERT().
+ If Port is not aligned on a 16-bit boundary, then ASSERT().
@param Port The I/O port to read.
- @return The value read from Port.
+ @return The value read.
**/
UINT16
@@ -326,13 +322,12 @@ IoRead16 (
operations are serialized.
If 16-bit I/O port operations are not supported, then ASSERT().
-
+ If Port is not aligned on a 16-bit boundary, then ASSERT().
+
@param Port The I/O port to write.
@param Value The value to write to 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.
+ @return The value written the I/O port.
**/
UINT16
@@ -361,10 +356,11 @@ IoWrite16 (
serialized.
If 32-bit I/O port operations are not supported, then ASSERT().
-
+ If Port is not aligned on a 32-bit boundary, then ASSERT().
+
@param Port The I/O port to read.
- @return The value read from Port.
+ @return The value read.
**/
UINT32
@@ -394,20 +390,19 @@ IoRead32 (
operations are serialized.
If 32-bit I/O port operations are not supported, then ASSERT().
-
+ If Port is not aligned on a 32-bit boundary, then ASSERT().
+
@param Port The I/O port to write.
@param Value The value to write to 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.
+ @return The value written the I/O port.
**/
UINT32
EFIAPI
IoWrite32 (
- IN UINTN Port,
- IN UINT32 Value
+ IN UINTN Port,
+ IN UINT32 Value
)
{
ASSERT ((Port & 3) == 0);