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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user