diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 05:30:27 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 05:30:27 +0000 |
commit | 0ffa12863e9e60cfd1900e3a83b21f32f89afdf2 (patch) | |
tree | e586ef67e1638568fd150d15a77b55dc239d4c00 /MdePkg/Library/PeiIoLibCpuIo | |
parent | 31a76725479ec06e1657fad04c93af5e8685930b (diff) | |
download | edk2-platforms-0ffa12863e9e60cfd1900e3a83b21f32f89afdf2.tar.xz |
1. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLib
2. Added assert() for AsmFxRestore() in x86LowLevel.c of BaseLib
3. Added assert() for LongJump() in LongJump.c of BaseLib
4. Changed parameter type of Value from "IN" to "IN OUT" for InterLockedComparedExchanged32/64/pointer() functions to sync with MWG-0.55a
5. Changed functions header of all BitField functions of BaseLib, BaseIoLibIntrinsic, BasePciCf8Lib, BasePciExpressLib, BasePciLibCf8, BasePciLibPciExpressLib DxeIoLibCpuIo, PeiIoLibCpuIo etc, to follow MWG-0.55a.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@565 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiIoLibCpuIo')
-rw-r--r-- | MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c | 80 |
1 files changed, 40 insertions, 40 deletions
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.
|