summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/RuntimeDxe/Crc32.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 16:20:43 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-23 16:20:43 +0000
commit48557c6550adecf39e1e8e140b1736275d070dfb (patch)
tree115213a1ad58d23aac000e3fa0a4c10469770b6e /MdeModulePkg/Core/RuntimeDxe/Crc32.c
parenta387653db209935677f95ef01608a533bc51633f (diff)
downloadedk2-platforms-48557c6550adecf39e1e8e140b1736275d070dfb.tar.xz
Code scrub DxeIpl, Runtime, DevicePath, FvbServicesLib, DiskIo, Partition, English, EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7105 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/RuntimeDxe/Crc32.c')
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Crc32.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/MdeModulePkg/Core/RuntimeDxe/Crc32.c b/MdeModulePkg/Core/RuntimeDxe/Crc32.c
index aef2d65e81..e2f3bc591f 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Crc32.c
+++ b/MdeModulePkg/Core/RuntimeDxe/Crc32.c
@@ -1,12 +1,13 @@
/** @file
- CalculateCrc32 Boot Services as defined in DXE CIS.
+ This file implements CalculateCrc32 Boot Services as defined in
+ Platform Initialization specification 1.0 VOLUME 2 DXE Core Interface.
This Boot Services is in the Runtime Driver because this service is
also required by SetVirtualAddressMap() when the EFI System Table and
EFI Runtime Services Table are converted from physical address to
- virtual addresses. This requires that the 32-bit CRC be recomputed.
+ virtual addresses. This requires that the 32-bit CRC be recomputed.
-Copyright (c) 2006, Intel Corporation. <BR>
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -61,8 +62,7 @@ RuntimeDriverCalculateCrc32 (
/**
- Reverse bits for 32bit data.
- This is a internal function.
+ This internal function reverses bits for 32bit data.
@param Value The data to be reversed.
@@ -89,6 +89,7 @@ ReverseBits (
/**
Initialize CRC32 table.
+
**/
VOID
RuntimeDriverInitializeCrc32Table (