X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseIoLibIntrinsic%2FIoLibMsc.c;h=1e903a7e254aa20aa53b95c04022b062a946ad8f;hp=9fec1bcae90779cf399eef1ad3f32b770c63c700;hb=38bbd3d91c38481d18c1a7e2049473c951ee98ed;hpb=d74eeda8a7ed223d49e59378f33b2bcfb1bb73b1 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