TianoCore EDK2 master
Loading...
Searching...
No Matches
HalRuntimeServicesLib.h
Go to the documentation of this file.
1
9#ifndef __RUNTIME_SERVICES_LIB_H__
10#define __RUNTIME_SERVICES_LIB_H__
11
12VOID
13LibMtcInitialize (
14 VOID
15 );
16
17VOID
18LibMtcVirtualAddressChangeEvent (
19 VOID
20 );
21
23EFIAPI
24LibMtcGetNextHighMonotonicCount (
25 OUT UINT32 *HighCount
26 );
27
29LibMtcGetNextMonotonicCount (
30 OUT UINT64 *Count
31 );
32
33VOID
34LibVariableInitialize (
35 VOID
36 );
37
38VOID
39LibVariableVirtualAddressChangeEvent (
40 VOID
41 );
42
44LibGetVariable (
45 IN CHAR16 *VariableName,
46 IN EFI_GUID *VendorGuid,
47 OUT UINT32 *Attributes OPTIONAL,
48 IN OUT UINTN *DataSize,
49 OUT VOID *Data
50 );
51
53LibGetNextVariableName (
54 IN OUT UINTN *VariableNameSize,
55 IN OUT CHAR16 *VariableName,
56 IN OUT EFI_GUID *VendorGuid
57 );
58
60LibSetVariable (
61 IN CHAR16 *VariableName,
62 IN EFI_GUID *VendorGuid,
63 IN UINT32 Attributes,
64 IN UINTN DataSize,
65 IN VOID *Data
66 );
67
69LibQueryVariableInfo (
70 IN UINT32 Attributes,
71 OUT UINT64 *MaximumVariableStorageSize,
72 OUT UINT64 *RemainingVariableStorageSize,
73 OUT UINT64 *MaximumVariableSize
74 );
75
76VOID
77LibResetInitializeReset (
78 VOID
79 );
80
81VOID
82LibResetVirtualAddressChangeEvent (
83 VOID
84 );
85
86VOID
87LibResetSystem (
88 IN EFI_RESET_TYPE ResetType,
89 IN EFI_STATUS ResetStatus,
90 IN UINTN DataSize,
91 IN CHAR16 *ResetData OPTIONAL
92 );
93
94VOID
95LibCapsuleInitialize (
96 VOID
97 );
98
99VOID
100LibCapsuleVirtualAddressChangeEvent (
101 VOID
102 );
103
105LibUpdateCapsule (
106 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
107 IN UINTN CapsuleCount,
108 IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
109 );
110
112QueryCapsuleCapabilities (
113 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
114 IN UINTN CapsuleCount,
115 OUT UINT64 *MaxiumCapsuleSize,
116 OUT EFI_RESET_TYPE *ResetType
117 );
118
119VOID
121 VOID
122 );
123
124VOID
125LibRtcVirtualAddressChangeEvent (
126 VOID
127 );
128
131 OUT EFI_TIME *Time,
132 OUT EFI_TIME_CAPABILITIES *Capabilities
133 );
134
137 IN EFI_TIME *Time
138 );
139
142 OUT BOOLEAN *Enabled,
143 OUT BOOLEAN *Pending,
144 OUT EFI_TIME *Time
145 );
146
149 IN BOOLEAN Enabled,
150 OUT EFI_TIME *Time
151 );
152
153VOID
154LibReportStatusCodeInitialize (
155 VOID
156 );
157
158VOID
159LibReportStatusCodeVirtualAddressChangeEvent (
160 VOID
161 );
162
164LibReportStatusCode (
165 IN EFI_STATUS_CODE_TYPE CodeType,
167 IN UINT32 Instance,
168 IN EFI_GUID *CallerId,
169 IN EFI_STATUS_CODE_DATA *Data OPTIONAL
170 );
171
172#endif
UINT64 UINTN
EFI_STATUS LibGetTime(OUT EFI_TIME *Time, OUT EFI_TIME_CAPABILITIES *Capabilities)
EFI_STATUS LibSetTime(IN EFI_TIME *Time)
EFI_STATUS LibSetWakeupTime(IN BOOLEAN Enabled, OUT EFI_TIME *Time)
EFI_STATUS LibGetWakeupTime(OUT BOOLEAN *Enabled, OUT BOOLEAN *Pending, OUT EFI_TIME *Time)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI LibRtcInitialize(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
UINT32 EFI_STATUS_CODE_VALUE
Definition: PiStatusCode.h:67
UINT32 EFI_STATUS_CODE_TYPE
Definition: PiStatusCode.h:24
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_RESET_TYPE
Definition: Base.h:213