X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiIoLibCpuIo%2FIoHighLevel.c;h=0d8d0de8f402c26c9547598497bc1a533dea6ad2;hp=48a7477d81d3737c85c895ca0f215a2826c520ee;hb=0ffa12863e9e60cfd1900e3a83b21f32f89afdf2;hpb=31a76725479ec06e1657fad04c93af5e8685930b diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c b/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c index 48a7477d81..0d8d0de8f4 100644 --- a/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c +++ b/MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c @@ -119,7 +119,7 @@ IoAndThenOr8 ( If 8-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -152,7 +152,7 @@ IoBitFieldRead8 ( If 8-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -192,7 +192,7 @@ IoBitFieldWrite8 ( If 8-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -232,7 +232,7 @@ IoBitFieldOr8 ( If 8-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -274,7 +274,7 @@ IoBitFieldAnd8 ( If 8-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -399,7 +399,7 @@ IoAndThenOr16 ( If 16-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -432,7 +432,7 @@ IoBitFieldRead16 ( If 16-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -472,7 +472,7 @@ IoBitFieldWrite16 ( If 16-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -512,7 +512,7 @@ IoBitFieldOr16 ( If 16-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -554,7 +554,7 @@ IoBitFieldAnd16 ( If 16-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -679,7 +679,7 @@ IoAndThenOr32 ( If 32-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -712,7 +712,7 @@ IoBitFieldRead32 ( If 32-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -752,7 +752,7 @@ IoBitFieldWrite32 ( If 32-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -792,7 +792,7 @@ IoBitFieldOr32 ( If 32-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -834,7 +834,7 @@ IoBitFieldAnd32 ( If 32-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -959,7 +959,7 @@ IoAndThenOr64 ( If 64-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -992,7 +992,7 @@ IoBitFieldRead64 ( If 64-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1032,7 +1032,7 @@ IoBitFieldWrite64 ( If 64-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1072,7 +1072,7 @@ IoBitFieldOr64 ( If 64-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1114,7 +1114,7 @@ IoBitFieldAnd64 ( If 64-bit I/O port operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Port The I/O port to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1240,7 +1240,7 @@ MmioAndThenOr8 ( If 8-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1272,7 +1272,7 @@ MmioBitFieldRead8 ( If 8-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1313,7 +1313,7 @@ MmioBitFieldWrite8 ( If 8-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1354,7 +1354,7 @@ MmioBitFieldOr8 ( If 8-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1396,7 +1396,7 @@ MmioBitFieldAnd8 ( If 8-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 7, then ASSERT(). If EndBit is greater than 7, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1522,7 +1522,7 @@ MmioAndThenOr16 ( If 16-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1554,7 +1554,7 @@ MmioBitFieldRead16 ( If 16-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1595,7 +1595,7 @@ MmioBitFieldWrite16 ( If 16-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1636,7 +1636,7 @@ MmioBitFieldOr16 ( If 16-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1678,7 +1678,7 @@ MmioBitFieldAnd16 ( If 16-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 15, then ASSERT(). If EndBit is greater than 15, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1804,7 +1804,7 @@ MmioAndThenOr32 ( If 32-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1836,7 +1836,7 @@ MmioBitFieldRead32 ( If 32-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1877,7 +1877,7 @@ MmioBitFieldWrite32 ( If 32-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1918,7 +1918,7 @@ MmioBitFieldOr32 ( If 32-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -1960,7 +1960,7 @@ MmioBitFieldAnd32 ( If 32-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 31, then ASSERT(). If EndBit is greater than 31, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -2086,7 +2086,7 @@ MmioAndThenOr64 ( If 64-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to read. @param StartBit The ordinal of the least significant bit in the bit field. @@ -2118,7 +2118,7 @@ MmioBitFieldRead64 ( If 64-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -2159,7 +2159,7 @@ MmioBitFieldWrite64 ( If 64-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -2200,7 +2200,7 @@ MmioBitFieldOr64 ( If 64-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field. @@ -2242,7 +2242,7 @@ MmioBitFieldAnd64 ( If 64-bit MMIO register operations are not supported, then ASSERT(). If StartBit is greater than 63, then ASSERT(). If EndBit is greater than 63, then ASSERT(). - If EndBit is less than or equal to StartBit, then ASSERT(). + If EndBit is less than StartBit, then ASSERT(). @param Address MMIO register to write. @param StartBit The ordinal of the least significant bit in the bit field.