/** @file\r
Runtime Architectural Protocol as defined in the DXE CIS.\r
\r
+ This code is used to produce the EFI runtime architectural protocol.\r
+\r
Copyright (c) 2006, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
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
#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
// 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
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
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
IN UINTN DescriptorSize,\r
IN UINT32 DescriptorVersion,\r
IN EFI_MEMORY_DESCRIPTOR *VirtualMap\r
- )\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
RuntimeDriverInitialize (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
- )\r
-;\r
+ );\r
\r
#endif\r