]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/RuntimeDxe/Crc32.c
Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / Core / RuntimeDxe / Crc32.c
index 0f22d1f6b7e598916d87c04d678bc113a8069cfe..a6fe77fa349b0bdf42237518c149ac04f30ca915 100644 (file)
@@ -1,8 +1,14 @@
 /** @file\r
-  CalculateCrc32 Boot Services as defined in DXE CIS.\r
+  This file implements CalculateCrc32 Boot Services as defined in\r
+  Platform Initialization specification 1.0 VOLUME 2 DXE Core Interface.\r
 \r
-Copyright (c) 2006, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+  This Boot Services is in the Runtime Driver because this service is\r
+  also required by SetVirtualAddressMap() when the EFI System Table and\r
+  EFI Runtime Services Table are converted from physical address to\r
+  virtual addresses.  This requires that the 32-bit CRC be recomputed.\r
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -10,21 +16,10 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-Module Name:\r
-\r
-  Crc32.c\r
-\r
-Abstract:\r
-\r
-  This Boot Services is in the Runtime Driver because this service is\r
-  also required by SetVirtualAddressMap() when the EFI System Table and\r
-  EFI Runtime Services Table are converted from physical address to\r
-  virtual addresses.  This requires that the 32-bit CRC be recomputed.\r
-\r
 **/\r
 \r
 \r
-#include <PiDxe.h>\r
+#include <Uefi.h>\r
 \r
 UINT32  mCrcTable[256];\r
 \r
@@ -67,8 +62,7 @@ RuntimeDriverCalculateCrc32 (
 \r
 \r
 /**\r
-  Reverse bits for 32bit data.\r
-  This is a internal function.\r
+  This internal function reverses bits for 32bit data.\r
 \r
   @param  Value                 The data to be reversed.\r
 \r
@@ -95,6 +89,7 @@ ReverseBits (
 \r
 /**\r
   Initialize CRC32 table.\r
+\r
 **/\r
 VOID\r
 RuntimeDriverInitializeCrc32Table (\r