Make comments match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6876 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
#include <Library/PeiServicesTablePointerLib.h>
|
||||
|
||||
/**
|
||||
Reads an 8-bit I/O port, performs a bitwise inclusive OR, and writes the
|
||||
Reads an 8-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 8-bit I/O port.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 8-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -80,8 +80,8 @@ IoAnd8 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads an 8-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 8-bit I/O port.
|
||||
Reads an 8-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 8-bit I/O port.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise AND between
|
||||
the read result and the value specified by AndData, performs a bitwise OR
|
||||
@@ -146,8 +146,7 @@ IoBitFieldRead8 (
|
||||
|
||||
Writes Value to the bit field of the I/O register. The bit field is specified
|
||||
by the StartBit and the EndBit. All other bits in the destination I/O
|
||||
register are preserved. The value written to the I/O port is returned. Extra
|
||||
left bits in Value are stripped.
|
||||
register are preserved. The value written to the I/O port is returned.
|
||||
|
||||
If 8-bit I/O port operations are not supported, then ASSERT().
|
||||
If StartBit is greater than 7, then ASSERT().
|
||||
@@ -183,7 +182,7 @@ IoBitFieldWrite8 (
|
||||
Reads a bit field in an 8-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 8-bit port.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 8-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -261,11 +260,11 @@ IoBitFieldAnd8 (
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit port, performs a bitwise AND followed by a
|
||||
bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
8-bit port.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR between the read result and the value specified by
|
||||
by a bitwise OR between the read result and the value specified by
|
||||
AndData, and writes the result to the 8-bit I/O port specified by Port. The
|
||||
value written to the I/O port is returned. This function must guarantee that
|
||||
all I/O read and write operations are serialized. Extra left bits in both
|
||||
@@ -304,10 +303,10 @@ IoBitFieldAndThenOr8 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 16-bit I/O port, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 16-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 16-bit I/O port.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 16-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -360,8 +359,8 @@ IoAnd16 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 16-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 16-bit I/O port.
|
||||
Reads a 16-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 16-bit I/O port.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise AND between
|
||||
the read result and the value specified by AndData, performs a bitwise OR
|
||||
@@ -463,7 +462,7 @@ IoBitFieldWrite16 (
|
||||
Reads a bit field in a 16-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 16-bit port.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 16-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -541,11 +540,11 @@ IoBitFieldAnd16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit port, performs a bitwise AND followed by a
|
||||
bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
16-bit port.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR between the read result and the value specified by
|
||||
by a bitwise OR between the read result and the value specified by
|
||||
AndData, and writes the result to the 16-bit I/O port specified by Port. The
|
||||
value written to the I/O port is returned. This function must guarantee that
|
||||
all I/O read and write operations are serialized. Extra left bits in both
|
||||
@@ -584,10 +583,10 @@ IoBitFieldAndThenOr16 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 32-bit I/O port, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 32-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 32-bit I/O port.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 32-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -640,8 +639,8 @@ IoAnd32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 32-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 32-bit I/O port.
|
||||
Reads a 32-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 32-bit I/O port.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise AND between
|
||||
the read result and the value specified by AndData, performs a bitwise OR
|
||||
@@ -743,7 +742,7 @@ IoBitFieldWrite32 (
|
||||
Reads a bit field in a 32-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 32-bit port.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 32-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -821,11 +820,11 @@ IoBitFieldAnd32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit port, performs a bitwise AND followed by a
|
||||
bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
32-bit port.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR between the read result and the value specified by
|
||||
by a bitwise OR between the read result and the value specified by
|
||||
AndData, and writes the result to the 32-bit I/O port specified by Port. The
|
||||
value written to the I/O port is returned. This function must guarantee that
|
||||
all I/O read and write operations are serialized. Extra left bits in both
|
||||
@@ -864,10 +863,10 @@ IoBitFieldAndThenOr32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 64-bit I/O port, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 64-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 64-bit I/O port.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 64-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -920,8 +919,8 @@ IoAnd64 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 64-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 64-bit I/O port.
|
||||
Reads a 64-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 64-bit I/O port.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise AND between
|
||||
the read result and the value specified by AndData, performs a bitwise OR
|
||||
@@ -1023,7 +1022,7 @@ IoBitFieldWrite64 (
|
||||
Reads a bit field in a 64-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 64-bit port.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise inclusive OR
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise OR
|
||||
between the read result and the value specified by OrData, and writes the
|
||||
result to the 64-bit I/O port specified by Port. The value written to the I/O
|
||||
port is returned. This function must guarantee that all I/O read and write
|
||||
@@ -1101,11 +1100,11 @@ IoBitFieldAnd64 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 64-bit port, performs a bitwise AND followed by a
|
||||
bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
64-bit port.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR between the read result and the value specified by
|
||||
by a bitwise OR between the read result and the value specified by
|
||||
AndData, and writes the result to the 64-bit I/O port specified by Port. The
|
||||
value written to the I/O port is returned. This function must guarantee that
|
||||
all I/O read and write operations are serialized. Extra left bits in both
|
||||
@@ -1144,11 +1143,11 @@ IoBitFieldAndThenOr64 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register, performs a bitwise inclusive OR, and writes the
|
||||
Reads an 8-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 8-bit MMIO register.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 8-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized.
|
||||
@@ -1200,8 +1199,8 @@ MmioAnd8 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 8-bit MMIO register.
|
||||
Reads an 8-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 8-bit MMIO register.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise AND
|
||||
between the read result and the value specified by AndData, performs a
|
||||
@@ -1303,8 +1302,8 @@ MmioBitFieldWrite8 (
|
||||
Reads a bit field in an 8-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 8-bit MMIO register.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 8-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized. Extra left bits in OrData
|
||||
@@ -1383,11 +1382,11 @@ MmioBitFieldAnd8 (
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit MMIO register, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
by a bitwise OR, and writes the result back to the bit field in the
|
||||
8-bit MMIO register.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise AND
|
||||
followed by a bitwise inclusive OR between the read result and the value
|
||||
followed by a bitwise OR between the read result and the value
|
||||
specified by AndData, and writes the result to the 8-bit MMIO register
|
||||
specified by Address. The value written to the MMIO register is returned.
|
||||
This function must guarantee that all MMIO read and write operations are
|
||||
@@ -1426,11 +1425,11 @@ MmioBitFieldAndThenOr8 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 16-bit MMIO register, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 16-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 16-bit MMIO register.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 16-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized.
|
||||
@@ -1482,8 +1481,8 @@ MmioAnd16 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 16-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 16-bit MMIO register.
|
||||
Reads a 16-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 16-bit MMIO register.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise AND
|
||||
between the read result and the value specified by AndData, performs a
|
||||
@@ -1585,8 +1584,8 @@ MmioBitFieldWrite16 (
|
||||
Reads a bit field in a 16-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 16-bit MMIO register.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 16-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized. Extra left bits in OrData
|
||||
@@ -1665,11 +1664,11 @@ MmioBitFieldAnd16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit MMIO register, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
by a bitwise OR, and writes the result back to the bit field in the
|
||||
16-bit MMIO register.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise AND
|
||||
followed by a bitwise inclusive OR between the read result and the value
|
||||
followed by a bitwise OR between the read result and the value
|
||||
specified by AndData, and writes the result to the 16-bit MMIO register
|
||||
specified by Address. The value written to the MMIO register is returned.
|
||||
This function must guarantee that all MMIO read and write operations are
|
||||
@@ -1708,11 +1707,11 @@ MmioBitFieldAndThenOr16 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 32-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 32-bit MMIO register.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 32-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized.
|
||||
@@ -1764,8 +1763,8 @@ MmioAnd32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 32-bit MMIO register.
|
||||
Reads a 32-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 32-bit MMIO register.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise AND
|
||||
between the read result and the value specified by AndData, performs a
|
||||
@@ -1867,8 +1866,8 @@ MmioBitFieldWrite32 (
|
||||
Reads a bit field in a 32-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 32-bit MMIO register.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 32-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized. Extra left bits in OrData
|
||||
@@ -1947,11 +1946,11 @@ MmioBitFieldAnd32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit MMIO register, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
by a bitwise OR, and writes the result back to the bit field in the
|
||||
32-bit MMIO register.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise AND
|
||||
followed by a bitwise inclusive OR between the read result and the value
|
||||
followed by a bitwise OR between the read result and the value
|
||||
specified by AndData, and writes the result to the 32-bit MMIO register
|
||||
specified by Address. The value written to the MMIO register is returned.
|
||||
This function must guarantee that all MMIO read and write operations are
|
||||
@@ -1990,11 +1989,11 @@ MmioBitFieldAndThenOr32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register, performs a bitwise inclusive OR, and writes the
|
||||
Reads a 64-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 64-bit MMIO register.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 64-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized.
|
||||
@@ -2046,8 +2045,8 @@ MmioAnd64 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 64-bit MMIO register.
|
||||
Reads a 64-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
OR, and writes the result back to the 64-bit MMIO register.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise AND
|
||||
between the read result and the value specified by AndData, performs a
|
||||
@@ -2149,8 +2148,8 @@ MmioBitFieldWrite64 (
|
||||
Reads a bit field in a 64-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 64-bit MMIO register.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
inclusive OR between the read result and the value specified by OrData, and
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
OR between the read result and the value specified by OrData, and
|
||||
writes the result to the 64-bit MMIO register specified by Address. The value
|
||||
written to the MMIO register is returned. This function must guarantee that
|
||||
all MMIO read and write operations are serialized. Extra left bits in OrData
|
||||
@@ -2229,11 +2228,11 @@ MmioBitFieldAnd64 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 64-bit MMIO register, performs a bitwise AND followed
|
||||
by a bitwise inclusive OR, and writes the result back to the bit field in the
|
||||
by a bitwise OR, and writes the result back to the bit field in the
|
||||
64-bit MMIO register.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise AND
|
||||
followed by a bitwise inclusive OR between the read result and the value
|
||||
followed by a bitwise OR between the read result and the value
|
||||
specified by AndData, and writes the result to the 64-bit MMIO register
|
||||
specified by Address. The value written to the MMIO register is returned.
|
||||
This function must guarantee that all MMIO read and write operations are
|
||||
|
Reference in New Issue
Block a user