ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / EmbeddedPkg / Include / Library / HalRuntimeServicesLib.h
CommitLineData
2ef2b01e
A
1/** @file\r
2\r
60274cca 3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
2ef2b01e 4\r
878b807a 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
2ef2b01e
A
6\r
7**/\r
8\r
9\r
10#ifndef __RUNTIME_SERVICES_LIB_H__\r
11#define __RUNTIME_SERVICES_LIB_H__\r
12\r
13VOID\r
14LibMtcInitialize (VOID);\r
15\r
16VOID\r
17LibMtcVirtualAddressChangeEvent (VOID);\r
18\r
19EFI_STATUS\r
20EFIAPI\r
21LibMtcGetNextHighMonotonicCount (\r
22 OUT UINT32 *HighCount\r
23 );\r
24\r
25EFI_STATUS\r
26LibMtcGetNextMonotonicCount (\r
27 OUT UINT64 *Count\r
28 );\r
29\r
30\r
31\r
32VOID\r
33LibVariableInitialize (VOID);\r
34\r
35VOID\r
36LibVariableVirtualAddressChangeEvent (VOID);\r
37\r
38EFI_STATUS\r
39LibGetVariable (\r
40 IN CHAR16 *VariableName,\r
41 IN EFI_GUID *VendorGuid,\r
42 OUT UINT32 *Attributes OPTIONAL,\r
43 IN OUT UINTN *DataSize,\r
44 OUT VOID *Data\r
45 );\r
46\r
47EFI_STATUS\r
48LibGetNextVariableName (\r
49 IN OUT UINTN *VariableNameSize,\r
50 IN OUT CHAR16 *VariableName,\r
51 IN OUT EFI_GUID *VendorGuid\r
52 );\r
53\r
54EFI_STATUS\r
55LibSetVariable (\r
56 IN CHAR16 *VariableName,\r
57 IN EFI_GUID *VendorGuid,\r
58 IN UINT32 Attributes,\r
59 IN UINTN DataSize,\r
60 IN VOID *Data\r
61 );\r
62\r
63EFI_STATUS\r
64LibQueryVariableInfo (\r
65 IN UINT32 Attributes,\r
66 OUT UINT64 *MaximumVariableStorageSize,\r
67 OUT UINT64 *RemainingVariableStorageSize,\r
68 OUT UINT64 *MaximumVariableSize\r
69 );\r
70\r
71\r
72\r
73VOID\r
74LibResetInitializeReset (VOID);\r
75\r
76VOID\r
77LibResetVirtualAddressChangeEvent (VOID);\r
78\r
79VOID\r
80LibResetSystem (\r
81 IN EFI_RESET_TYPE ResetType,\r
82 IN EFI_STATUS ResetStatus,\r
83 IN UINTN DataSize,\r
84 IN CHAR16 *ResetData OPTIONAL\r
85 );\r
86\r
87\r
88VOID\r
89LibCapsuleInitialize (VOID);\r
90\r
91VOID\r
92LibCapsuleVirtualAddressChangeEvent (VOID);\r
93\r
94EFI_STATUS\r
95LibUpdateCapsule (\r
96 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
97 IN UINTN CapsuleCount,\r
98 IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL\r
99 );\r
100\r
101EFI_STATUS\r
102QueryCapsuleCapabilities (\r
103 IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,\r
104 IN UINTN CapsuleCount,\r
105 OUT UINT64 *MaxiumCapsuleSize,\r
106 OUT EFI_RESET_TYPE *ResetType\r
107 );\r
108\r
109\r
110\r
111VOID\r
112LibRtcInitialize (VOID);\r
113\r
114VOID\r
115LibRtcVirtualAddressChangeEvent (VOID);\r
116\r
117EFI_STATUS\r
118LibGetTime (\r
119 OUT EFI_TIME *Time,\r
120 OUT EFI_TIME_CAPABILITIES *Capabilities\r
121 );\r
122\r
123EFI_STATUS\r
124LibSetTime (\r
125 IN EFI_TIME *Time\r
126 );\r
127\r
128EFI_STATUS\r
129LibGetWakeupTime (\r
130 OUT BOOLEAN *Enabled,\r
131 OUT BOOLEAN *Pending,\r
132 OUT EFI_TIME *Time\r
133 );\r
134\r
135EFI_STATUS\r
136LibSetWakeupTime (\r
137 IN BOOLEAN Enabled,\r
138 OUT EFI_TIME *Time\r
139 );\r
140\r
141\r
142VOID\r
143LibReportStatusCodeInitialize (VOID);\r
144\r
145VOID\r
146LibReportStatusCodeVirtualAddressChangeEvent (VOID);\r
147\r
148EFI_STATUS\r
149LibReportStatusCode (\r
150 IN EFI_STATUS_CODE_TYPE CodeType,\r
151 IN EFI_STATUS_CODE_VALUE Value,\r
152 IN UINT32 Instance,\r
153 IN EFI_GUID *CallerId,\r
154 IN EFI_STATUS_CODE_DATA *Data OPTIONAL\r
155 );\r
156\r
157\r
158#endif\r
159\r