Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91. Update DxeCore and Runtime driver to follow new definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2101 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -41,10 +41,20 @@ RuntimeDriverCalculateCrc32 (
|
||||
|
||||
Routine Description:
|
||||
|
||||
Calculate CRC32 for target data
|
||||
|
||||
Arguments:
|
||||
|
||||
Data - The target data.
|
||||
DataSize - The target data size.
|
||||
CrcOut - The CRC32 for target data.
|
||||
|
||||
Returns:
|
||||
|
||||
EFI_SUCCESS - The CRC32 for target data is calculated successfully.
|
||||
EFI_INVALID_PARAMETER - Some parameter is not valid, so the CRC32 is not
|
||||
calculated.
|
||||
|
||||
--*/
|
||||
{
|
||||
UINT32 Crc;
|
||||
@@ -72,10 +82,16 @@ ReverseBits (
|
||||
|
||||
Routine Description:
|
||||
|
||||
Reverse bits for 32bit data.
|
||||
|
||||
Arguments:
|
||||
|
||||
Value - the data to be reversed.
|
||||
|
||||
Returns:
|
||||
|
||||
UINT32 data reversed.
|
||||
|
||||
--*/
|
||||
{
|
||||
UINTN Index;
|
||||
@@ -99,10 +115,16 @@ RuntimeDriverInitializeCrc32Table (
|
||||
|
||||
Routine Description:
|
||||
|
||||
Initialize CRC32 table.
|
||||
|
||||
Arguments:
|
||||
|
||||
None.
|
||||
|
||||
Returns:
|
||||
|
||||
None.
|
||||
|
||||
--*/
|
||||
{
|
||||
UINTN TableEntry;
|
||||
|
Reference in New Issue
Block a user