]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/RuntimeDxe/Runtime.h
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / Core / RuntimeDxe / Runtime.h
index e85c47d9b111ba4a83f51964357d53cb30f794cc..506915e112a5fb251ee762f44fabec31ef3600fc 100644 (file)
@@ -1,8 +1,10 @@
 /** @file\r
   Runtime Architectural Protocol as defined in the DXE CIS.\r
 \r
-Copyright (c) 2006, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+  This code is used to produce the EFI runtime architectural protocol.\r
+\r
+Copyright (c) 2006 - 2010, 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,15 +12,6 @@ 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
-\r
-Module Name:\r
-\r
-  Runtime.h\r
-\r
-Abstract:\r
-\r
-  This code is used to produce the EFI runtime architectural protocol.\r
-\r
 **/\r
 \r
 #ifndef _RUNTIME_H_\r
@@ -31,21 +24,18 @@ Abstract:
 #include <Library/UefiDriverEntryPoint.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/ReportStatusCodeLib.h>\r
-#include <Library/BaseMemoryLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
+#include <Library/UefiLib.h>\r
 #include <Library/CacheMaintenanceLib.h>\r
 #include <Library/PeCoffLib.h>\r
-#include <Library/PcdLib.h>\r
 \r
 \r
 //\r
 // Function Prototypes\r
 //\r
 /**\r
-\r
-  Calculate CRC32 for target data\r
-\r
+  Calculate CRC32 for target data.\r
 \r
   @param Data            The target data.\r
   @param DataSize        The target data size.\r
@@ -62,11 +52,9 @@ RuntimeDriverCalculateCrc32 (
   IN  VOID    *Data,\r
   IN  UINTN   DataSize,\r
   OUT UINT32  *CrcOut\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
-\r
   Determines the new virtual address that is to be used on subsequent memory accesses.\r
 \r
 \r
@@ -85,18 +73,15 @@ EFIAPI
 RuntimeDriverConvertPointer (\r
   IN     UINTN  DebugDisposition,\r
   IN OUT VOID   **ConvertAddress\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
-\r
   Changes the runtime addressing mode of EFI firmware from physical to virtual.\r
 \r
-\r
-  @param MemoryMapSize   The size in bytes of VirtualMap.\r
-  @param DescriptorSize  The size in bytes of an entry in the VirtualMap.\r
-  @param DescriptorVersion The version of the structure entries in VirtualMap.\r
-  @param VirtualMap      An array of memory descriptors which contain new virtual\r
+  @param  MemoryMapSize   The size in bytes of VirtualMap.\r
+  @param  DescriptorSize  The size in bytes of an entry in the VirtualMap.\r
+  @param  DescriptorVersion The version of the structure entries in VirtualMap.\r
+  @param  VirtualMap      An array of memory descriptors which contain new virtual\r
                          address mapping information for all runtime ranges.\r
 \r
   @retval  EFI_SUCCESS            The virtual address map has been applied.\r
@@ -116,31 +101,17 @@ RuntimeDriverSetVirtualAddressMap (
   IN UINTN                  DescriptorSize,\r
   IN UINT32                 DescriptorVersion,\r
   IN EFI_MEMORY_DESCRIPTOR  *VirtualMap\r
-  )\r
-;\r
-\r
-/**\r
-\r
-  Initialize CRC32 table.\r
-\r
-**/\r
-VOID\r
-RuntimeDriverInitializeCrc32Table (\r
-  VOID\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
-\r
   Install Runtime AP. This code includes the EfiRuntimeLib, but it only\r
   functions at RT in physical mode.\r
 \r
+  @param  ImageHandle     Image handle of this driver.\r
+  @param  SystemTable     Pointer to the EFI System Table.\r
 \r
-  @param ImageHandle     Image handle of this driver.\r
-  @param SystemTable     Pointer to the EFI System Table.\r
-\r
-  @retval  EFI_SUCEESS  Runtime Driver Architectural Protocol Installed\r
-  @return  Other value if gBS->InstallMultipleProtocolInterfaces fails. Check\r
+  @retval EFI_SUCEESS  Runtime Driver Architectural Protocol Installed\r
+  @return Other value if gBS->InstallMultipleProtocolInterfaces fails. Check\r
            gBS->InstallMultipleProtocolInterfaces for details.\r
 \r
 **/\r
@@ -149,7 +120,6 @@ EFIAPI
 RuntimeDriverInitialize (\r
   IN EFI_HANDLE                            ImageHandle,\r
   IN EFI_SYSTEM_TABLE                      *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r