Calling this interface with ResetType of EfiResetShutdown causes the system to enter a power state equivalent to the\r
ACPI G2/S5 or G3 states. If the system does not support this reset type, then when the system is rebooted, it should\r
exhibit the EfiResetCold attributes.\r
- The platform may optionally log the parmeters from any non-normal reset that occurs.\r
+ The platform may optionally log the parameters from any non-normal reset that occurs.\r
The ResetSystem() function does not return.\r
\r
@param ResetType The type of reset to perform.\r
IN VOID *ResetData OPTIONAL\r
)\r
{\r
- mRT->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
+ gInternalRT->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
}\r
\r
\r
EFIAPI\r
EfiGetTime (\r
OUT EFI_TIME *Time,\r
- OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL\r
+ OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL\r
)\r
{\r
- return mRT->GetTime (Time, Capabilities);\r
+ return gInternalRT->GetTime (Time, Capabilities);\r
}\r
\r
\r
IN EFI_TIME *Time\r
)\r
{\r
- return mRT->SetTime (Time);\r
+ return gInternalRT->SetTime (Time);\r
}\r
\r
\r
OUT EFI_TIME *Time\r
)\r
{\r
- return mRT->GetWakeupTime (Enabled, Pending, Time);\r
+ return gInternalRT->GetWakeupTime (Enabled, Pending, Time);\r
}\r
\r
\r
EFIAPI\r
EfiSetWakeupTime (\r
IN BOOLEAN Enable,\r
- IN EFI_TIME *Time OPTIONAL\r
+ IN EFI_TIME *Time OPTIONAL\r
)\r
{\r
- return mRT->SetWakeupTime (Enable, Time);\r
+ return gInternalRT->SetWakeupTime (Enable, Time);\r
}\r
\r
\r
@param VendorGuid Unify identifier for vendor.\r
@param Attributes Point to memory location to return the attributes of variable. If the point\r
is NULL, the parameter would be ignored.\r
- @param DataSize As input, point to the maxinum size of return Data-Buffer.\r
+ @param DataSize As input, point to the maximum size of return Data-Buffer.\r
As output, point to the actual size of the returned Data-Buffer.\r
@param Data Point to return Data-Buffer.\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
- return mRT->GetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
+ return gInternalRT->GetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
}\r
\r
\r
variable name data. When the entire variable list has been returned, the error EFI_NOT_FOUND\r
is returned.\r
\r
- @param VariableNameSize As input, point to maxinum size of variable name.\r
- As output, point to actual size of varaible name.\r
+ @param VariableNameSize As input, point to maximum size of variable name.\r
+ As output, point to actual size of variable name.\r
@param VariableName As input, supplies the last VariableName that was returned by\r
GetNextVariableName().\r
As output, returns the name of variable. The name\r
IN OUT EFI_GUID *VendorGuid\r
)\r
{\r
- return mRT->GetNextVariableName (VariableNameSize, VariableName, VendorGuid);\r
+ return gInternalRT->GetNextVariableName (VariableNameSize, VariableName, VendorGuid);\r
}\r
\r
\r
IN VOID *Data\r
)\r
{\r
- return mRT->SetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
+ return gInternalRT->SetVariable (VariableName, VendorGuid, Attributes, DataSize, Data);\r
}\r
\r
\r
OUT UINT32 *HighCount\r
)\r
{\r
- return mRT->GetNextHighMonotonicCount (HighCount);\r
+ return gInternalRT->GetNextHighMonotonicCount (HighCount);\r
}\r
\r
\r
IN CONST EFI_MEMORY_DESCRIPTOR *VirtualMap\r
)\r
{\r
- return mRT->SetVirtualAddressMap (\r
+ return gInternalRT->SetVirtualAddressMap (\r
MemoryMapSize,\r
DescriptorSize,\r
DescriptorVersion,\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
- return mRT->UpdateCapsule (\r
+ return gInternalRT->UpdateCapsule (\r
CapsuleHeaderArray,\r
CapsuleCount,\r
ScatterGatherList\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
- return mRT->QueryCapsuleCapabilities (\r
+ return gInternalRT->QueryCapsuleCapabilities (\r
CapsuleHeaderArray,\r
CapsuleCount,\r
MaximumCapsuleSize,\r
EFI_STATUS\r
EFIAPI\r
EfiQueryVariableInfo (\r
- IN UINT32 Attributes,\r
- OUT UINT64 *MaximumVariableStorageSize,\r
- OUT UINT64 *RemainingVariableStorageSize,\r
- OUT UINT64 *MaximumVariableSize\r
+ IN UINT32 Attributes,\r
+ OUT UINT64 *MaximumVariableStorageSize,\r
+ OUT UINT64 *RemainingVariableStorageSize,\r
+ OUT UINT64 *MaximumVariableSize\r
)\r
{\r
- return mRT->QueryVariableInfo (\r
+ return gInternalRT->QueryVariableInfo (\r
Attributes,\r
MaximumVariableStorageSize,\r
RemainingVariableStorageSize,\r