\r
RuntimeService.c\r
\r
-Abstract:\r
-\r
- Light weight lib to support Tiano drivers.\r
-\r
--*/\r
\r
#include <RuntimeLibInternal.h>\r
\r
VOID\r
+EFIAPI\r
EfiResetSystem (\r
IN EFI_RESET_TYPE ResetType,\r
IN EFI_STATUS ResetStatus,\r
// runtime service in the EFI system table.\r
//\r
EFI_STATUS\r
+EFIAPI\r
EfiGetTime (\r
OUT EFI_TIME *Time,\r
OUT EFI_TIME_CAPABILITIES *Capabilities\r
Arguments:\r
\r
Time - A pointer to storage to receive a snapshot of the current time.\r
- Capabilities - An optional pointer to a buffer to receive the real time clock device¡¯s\r
+ Capabilities - An optional pointer to a buffer to receive the real time clock device's\r
capabilities.\r
\r
Returns:\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiSetTime (\r
IN EFI_TIME *Time\r
)\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiGetWakeupTime (\r
OUT BOOLEAN *Enabled,\r
OUT BOOLEAN *Pending,\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiSetWakeupTime (\r
IN BOOLEAN Enable,\r
IN EFI_TIME *Time\r
\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiGetVariable (\r
IN CHAR16 *VariableName,\r
IN EFI_GUID * VendorGuid,\r
Arguments:\r
\r
VariableName - A Null-terminated Unicode string that is the name of the\r
- vendor¡¯s variable.\r
+ vendor's variable.\r
VendorGuid - A unique identifier for the vendor.\r
Attributes - If not NULL, a pointer to the memory location to return the\r
attributes bitmask for the variable.\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiGetNextVariableName (\r
IN OUT UINTN *VariableNameSize,\r
IN OUT CHAR16 *VariableName,\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiSetVariable (\r
IN CHAR16 *VariableName,\r
IN EFI_GUID *VendorGuid,\r
Arguments:\r
\r
VariableName - A Null-terminated Unicode string that is the name of the\r
- vendor¡¯s variable.\r
+ vendor's variable.\r
VendorGuid - A unique identifier for the vendor.\r
Attributes - Attributes bitmask to set for the variable.\r
DataSize - The size in bytes of the Data buffer.\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiGetNextHighMonotonicCount (\r
OUT UINT32 *HighCount\r
)\r
\r
Routine Description:\r
\r
- Returns the next high 32 bits of the platform¡¯s monotonic counter.\r
+ Returns the next high 32 bits of the platform's monotonic counter.\r
\r
Arguments:\r
\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiConvertPointer (\r
IN UINTN DebugDisposition,\r
- IN OUT VOID *Address\r
+ IN OUT VOID **Address\r
)\r
/*++\r
\r
}\r
\r
EFI_STATUS\r
-EfiConvertInternalPointer (\r
- IN OUT VOID *Address\r
- )\r
-/*++\r
-\r
-Routine Description:\r
-\r
- Call EfiConvertPointer() to convert internal pointer.\r
-\r
-Arguments:\r
-\r
- Address - A pointer to a pointer that is to be fixed to be the value needed\r
- for the new virtual address mappings being applied.\r
-\r
-Returns:\r
-\r
- Status code\r
-\r
---*/\r
-{\r
- return EfiConvertPointer (0x0, Address);\r
-}\r
-\r
-EFI_STATUS\r
+EFIAPI\r
EfiConvertList (\r
IN UINTN DebugDisposition,\r
IN OUT LIST_ENTRY *ListHead\r
\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiUpdateCapsule (\r
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
IN UINTN CapsuleCount,\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiQueryCapsuleCapabilities (\r
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
IN UINTN CapsuleCount,\r
\r
\r
EFI_STATUS\r
+EFIAPI\r
EfiQueryVariableInfo (\r
IN UINT32 Attributes,\r
OUT UINT64 *MaximumVariableStorageSize,\r