X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FRuntimeDxe%2FRuntime.h;h=f2cee9c7c687e6582397501df6b8adef908615b7;hb=0677cc4925d580f7016ac092dc591be0ebe03495;hp=e85c47d9b111ba4a83f51964357d53cb30f794cc;hpb=9fc787529c52ace6b1f20f7118b4eb27cd232b7f;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.h b/MdeModulePkg/Core/RuntimeDxe/Runtime.h index e85c47d9b1..f2cee9c7c6 100644 --- a/MdeModulePkg/Core/RuntimeDxe/Runtime.h +++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.h @@ -1,8 +1,10 @@ /** @file Runtime Architectural Protocol as defined in the DXE CIS. -Copyright (c) 2006, Intel Corporation.
-All rights reserved. This program and the accompanying materials + This code is used to produce the EFI runtime architectural protocol. + +Copyright (c) 2006 - 2010, Intel Corporation. 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 http://opensource.org/licenses/bsd-license.php @@ -10,15 +12,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - Runtime.h - -Abstract: - - This code is used to produce the EFI runtime architectural protocol. - **/ #ifndef _RUNTIME_H_ @@ -31,21 +24,18 @@ Abstract: #include #include #include -#include #include #include +#include #include #include -#include // // Function Prototypes // /** - - Calculate CRC32 for target data - + Calculate CRC32 for target data. @param Data The target data. @param DataSize The target data size. @@ -62,11 +52,9 @@ RuntimeDriverCalculateCrc32 ( IN VOID *Data, IN UINTN DataSize, OUT UINT32 *CrcOut - ) -; + ); /** - Determines the new virtual address that is to be used on subsequent memory accesses. @@ -85,18 +73,15 @@ EFIAPI RuntimeDriverConvertPointer ( IN UINTN DebugDisposition, IN OUT VOID **ConvertAddress - ) -; + ); /** - Changes the runtime addressing mode of EFI firmware from physical to virtual. - - @param MemoryMapSize The size in bytes of VirtualMap. - @param DescriptorSize The size in bytes of an entry in the VirtualMap. - @param DescriptorVersion The version of the structure entries in VirtualMap. - @param VirtualMap An array of memory descriptors which contain new virtual + @param MemoryMapSize The size in bytes of VirtualMap. + @param DescriptorSize The size in bytes of an entry in the VirtualMap. + @param DescriptorVersion The version of the structure entries in VirtualMap. + @param VirtualMap An array of memory descriptors which contain new virtual address mapping information for all runtime ranges. @retval EFI_SUCCESS The virtual address map has been applied. @@ -116,31 +101,26 @@ RuntimeDriverSetVirtualAddressMap ( IN UINTN DescriptorSize, IN UINT32 DescriptorVersion, IN EFI_MEMORY_DESCRIPTOR *VirtualMap - ) -; + ); /** - Initialize CRC32 table. **/ VOID RuntimeDriverInitializeCrc32Table ( VOID - ) -; + ); /** - Install Runtime AP. This code includes the EfiRuntimeLib, but it only functions at RT in physical mode. + @param ImageHandle Image handle of this driver. + @param SystemTable Pointer to the EFI System Table. - @param ImageHandle Image handle of this driver. - @param SystemTable Pointer to the EFI System Table. - - @retval EFI_SUCEESS Runtime Driver Architectural Protocol Installed - @return Other value if gBS->InstallMultipleProtocolInterfaces fails. Check + @retval EFI_SUCEESS Runtime Driver Architectural Protocol Installed + @return Other value if gBS->InstallMultipleProtocolInterfaces fails. Check gBS->InstallMultipleProtocolInterfaces for details. **/ @@ -149,7 +129,6 @@ EFIAPI RuntimeDriverInitialize ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable - ) -; + ); #endif