Provides library functions for each of the UEFI Runtime Services.\r
Only available to DXE and UEFI module types.\r
\r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution. \r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.\r
-\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
\r
#ifndef __UEFI_RUNTIME_LIB__\r
);\r
\r
/**\r
- This function allows the caller to determine if UEFI SetVirtualAddressMap() has been called. \r
+ This function allows the caller to determine if UEFI SetVirtualAddressMap() has been called.\r
\r
This function returns TRUE after all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE functions have\r
executed as a result of the OS calling SetVirtualAddressMap(). Prior to this time FALSE\r
EFI_STATUS\r
EFIAPI\r
EfiGetTime (\r
- OUT EFI_TIME *Time,\r
- OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL\r
+ OUT EFI_TIME *Time,\r
+ OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiSetTime (\r
- IN EFI_TIME *Time\r
+ IN EFI_TIME *Time\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiGetWakeupTime (\r
- OUT BOOLEAN *Enabled,\r
- OUT BOOLEAN *Pending,\r
- OUT EFI_TIME *Time\r
+ OUT BOOLEAN *Enabled,\r
+ OUT BOOLEAN *Pending,\r
+ OUT EFI_TIME *Time\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiSetWakeupTime (\r
- IN BOOLEAN Enable,\r
- IN EFI_TIME *Time OPTIONAL\r
+ IN BOOLEAN Enable,\r
+ IN EFI_TIME *Time OPTIONAL\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiGetVariable (\r
- IN CHAR16 *VariableName,\r
- IN EFI_GUID *VendorGuid,\r
- OUT UINT32 *Attributes OPTIONAL,\r
- IN OUT UINTN *DataSize,\r
- OUT VOID *Data\r
+ IN CHAR16 *VariableName,\r
+ IN EFI_GUID *VendorGuid,\r
+ OUT UINT32 *Attributes OPTIONAL,\r
+ IN OUT UINTN *DataSize,\r
+ OUT VOID *Data\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiGetNextVariableName (\r
- IN OUT UINTN *VariableNameSize,\r
- IN OUT CHAR16 *VariableName,\r
- IN OUT EFI_GUID *VendorGuid\r
+ IN OUT UINTN *VariableNameSize,\r
+ IN OUT CHAR16 *VariableName,\r
+ IN OUT EFI_GUID *VendorGuid\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiSetVariable (\r
- IN CHAR16 *VariableName,\r
- IN EFI_GUID *VendorGuid,\r
- IN UINT32 Attributes,\r
- IN UINTN DataSize,\r
- IN VOID *Data\r
+ IN CHAR16 *VariableName,\r
+ IN EFI_GUID *VendorGuid,\r
+ IN UINT32 Attributes,\r
+ IN UINTN DataSize,\r
+ IN VOID *Data\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiGetNextHighMonotonicCount (\r
- OUT UINT32 *HighCount\r
+ OUT UINT32 *HighCount\r
);\r
\r
/**\r
VOID\r
EFIAPI\r
EfiResetSystem (\r
- IN EFI_RESET_TYPE ResetType,\r
- IN EFI_STATUS ResetStatus,\r
- IN UINTN DataSize,\r
- IN VOID *ResetData OPTIONAL\r
+ IN EFI_RESET_TYPE ResetType,\r
+ IN EFI_STATUS ResetStatus,\r
+ IN UINTN DataSize,\r
+ IN VOID *ResetData OPTIONAL\r
);\r
\r
/**\r
- This service is a wrapper for the UEFI Runtime Service ConvertPointer(). \r
+ This service is a wrapper for the UEFI Runtime Service ConvertPointer().\r
\r
The ConvertPointer() function is used by an EFI component during the SetVirtualAddressMap() operation.\r
ConvertPointer()must be called using physical address pointers during the execution of SetVirtualAddressMap().\r
EFI_STATUS\r
EFIAPI\r
EfiConvertPointer (\r
- IN UINTN DebugDisposition,\r
- IN OUT VOID **Address\r
+ IN UINTN DebugDisposition,\r
+ IN OUT VOID **Address\r
);\r
\r
/**\r
Determines the new virtual address that is to be used on subsequent memory accesses.\r
\r
For IA32, x64, and EBC, this service is a wrapper for the UEFI Runtime Service\r
- ConvertPointer(). See the UEFI Specification for details. \r
+ ConvertPointer(). See the UEFI Specification for details.\r
For IPF, this function interprets Address as a pointer to an EFI_PLABEL structure\r
and both the EntryPoint and GP fields of an EFI_PLABEL are converted from physical\r
to virtiual addressing. Since IPF allows the GP to point to an address outside\r
EFI_STATUS\r
EFIAPI\r
EfiConvertFunctionPointer (\r
- IN UINTN DebugDisposition,\r
- IN OUT VOID **Address\r
+ IN UINTN DebugDisposition,\r
+ IN OUT VOID **Address\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiSetVirtualAddressMap (\r
- IN UINTN MemoryMapSize,\r
- IN UINTN DescriptorSize,\r
- IN UINT32 DescriptorVersion,\r
- IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap\r
+ IN UINTN MemoryMapSize,\r
+ IN UINTN DescriptorSize,\r
+ IN UINT32 DescriptorVersion,\r
+ IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap\r
);\r
\r
-\r
/**\r
Convert the standard Lib double linked list to a virtual mapping.\r
\r
EFI_STATUS\r
EFIAPI\r
EfiConvertList (\r
- IN UINTN DebugDisposition,\r
- IN OUT LIST_ENTRY *ListHead\r
+ IN UINTN DebugDisposition,\r
+ IN OUT LIST_ENTRY *ListHead\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
EfiUpdateCapsule (\r
- IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
- IN UINTN CapsuleCount,\r
- IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r
+ IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
+ IN UINTN CapsuleCount,\r
+ IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r
);\r
\r
-\r
/**\r
This service is a wrapper for the UEFI Runtime Service QueryCapsuleCapabilities().\r
\r
EFI_STATUS\r
EFIAPI\r
EfiQueryCapsuleCapabilities (\r
- IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
- IN UINTN CapsuleCount,\r
- OUT UINT64 *MaximumCapsuleSize,\r
- OUT EFI_RESET_TYPE *ResetType\r
+ IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
+ IN UINTN CapsuleCount,\r
+ OUT UINT64 *MaximumCapsuleSize,\r
+ OUT EFI_RESET_TYPE *ResetType\r
);\r
\r
-\r
/**\r
This service is a wrapper for the UEFI Runtime Service QueryVariableInfo().\r
\r
);\r
\r
#endif\r
-\r