9#ifndef MOCK_UEFI_LIB_H_
10#define MOCK_UEFI_LIB_H_
22 MOCK_FUNCTION_DECLARATION (
29 MOCK_FUNCTION_DECLARATION (
35 IN VOID *NotifyContext OPTIONAL,
36 OUT VOID **Registration)
39 MOCK_FUNCTION_DECLARATION (
45 IN CONST VOID *NotifyContext OPTIONAL,
46 OUT VOID *Registration OPTIONAL)
49 MOCK_FUNCTION_DECLARATION (
55 MOCK_FUNCTION_DECLARATION (
61 MOCK_FUNCTION_DECLARATION (
68 MOCK_FUNCTION_DECLARATION (
74 MOCK_FUNCTION_DECLARATION (
81 MOCK_FUNCTION_DECLARATION (
87 MOCK_FUNCTION_DECLARATION (
93 MOCK_FUNCTION_DECLARATION (
99 MOCK_FUNCTION_DECLARATION (
107 MOCK_FUNCTION_DECLARATION (
115 MOCK_FUNCTION_DECLARATION (
118 (
IN CONST CHAR8 *SupportedLanguages,
119 IN CONST CHAR8 *TargetLanguage)
122 MOCK_FUNCTION_DECLARATION (
126 IN CONST CHAR8 *SupportedLanguages,
128 OUT CHAR16 **UnicodeString)
131 MOCK_FUNCTION_DECLARATION (
135 IN CONST CHAR8 *SupportedLanguages,
137 OUT CHAR16 **UnicodeString,
138 IN BOOLEAN Iso639Language)
141 MOCK_FUNCTION_DECLARATION (
145 IN CONST CHAR8 *SupportedLanguages,
147 IN CONST CHAR16 *UnicodeString)
150 MOCK_FUNCTION_DECLARATION (
154 IN CONST CHAR8 *SupportedLanguages,
156 IN CONST CHAR16 *UnicodeString,
157 IN BOOLEAN Iso639Language)
160 MOCK_FUNCTION_DECLARATION (
166 MOCK_FUNCTION_DECLARATION (
175 MOCK_FUNCTION_DECLARATION (
183 MOCK_FUNCTION_DECLARATION (
190 OUT UINT32 *Attr OPTIONAL)
193 MOCK_FUNCTION_DECLARATION (
196 (
IN CHAR16 UnicodeChar)
199 MOCK_FUNCTION_DECLARATION (
205 MOCK_FUNCTION_DECLARATION (
211 MOCK_FUNCTION_DECLARATION (
217 MOCK_FUNCTION_DECLARATION (
223 MOCK_FUNCTION_DECLARATION (
228 IN VOID *NotifyContext OPTIONAL,
232 MOCK_FUNCTION_DECLARATION (
238 MOCK_FUNCTION_DECLARATION (
243 IN VOID *NotifyContext OPTIONAL,
247 MOCK_FUNCTION_DECLARATION (
254 MOCK_FUNCTION_DECLARATION (
260 MOCK_FUNCTION_DECLARATION (
269 MOCK_FUNCTION_DECLARATION (
275 MOCK_FUNCTION_DECLARATION (
287 MOCK_FUNCTION_DECLARATION (
296 MOCK_FUNCTION_DECLARATION (
307 MOCK_FUNCTION_DECLARATION (
315 MOCK_FUNCTION_DECLARATION (
330 MOCK_FUNCTION_DECLARATION (
342 MOCK_FUNCTION_DECLARATION (
350 MOCK_FUNCTION_DECLARATION (
356 IN UINT64 Attributes)
359 MOCK_FUNCTION_DECLARATION (
362 (
IN UINT32 Signature,
366 MOCK_FUNCTION_DECLARATION (
369 (
IN UINT32 Signature)
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI Lock(IN EFI_SMM_ACCESS2_PROTOCOL *This)
EFI_STATUS EFIAPI AddUnicodeString2(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable, IN CONST CHAR16 *UnicodeString, IN BOOLEAN Iso639Language)
EFI_STATUS EFIAPI EfiOpenFileByDevicePath(IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath, OUT EFI_FILE_PROTOCOL **File, IN UINT64 OpenMode, IN UINT64 Attributes)
EFI_STATUS EFIAPI EfiCreateEventLegacyBootEx(IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN VOID *NotifyContext OPTIONAL, OUT EFI_EVENT *LegacyBootEvent)
EFI_TPL EFIAPI EfiGetCurrentTpl(VOID)
VOID EFIAPI EfiReleaseLock(IN EFI_LOCK *Lock)
EFI_STATUS EFIAPI EfiNamedEventListen(IN CONST EFI_GUID *Name, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction, IN CONST VOID *NotifyContext OPTIONAL, OUT VOID *Registration OPTIONAL)
EFI_STATUS EFIAPI GetEfiGlobalVariable2(IN CONST CHAR16 *Name, OUT VOID **Value, OUT UINTN *Size OPTIONAL)
UINTN EFIAPI UnicodeStringDisplayLength(IN CONST CHAR16 *String)
EFI_STATUS EFIAPI EfiTestChildHandle(IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE ChildHandle, IN CONST EFI_GUID *ProtocolGuid)
EFI_STATUS EFIAPI EfiAcquireLockOrFail(IN EFI_LOCK *Lock)
VOID EFIAPI EfiEventEmptyFunction(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI EfiGetSystemConfigurationTable(IN EFI_GUID *TableGuid, OUT VOID **Table)
EFI_STATUS EFIAPI EfiCreateEventReadyToBoot(OUT EFI_EVENT *ReadyToBootEvent)
EFI_STATUS EFIAPI LookupUnicodeString(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable, OUT CHAR16 **UnicodeString)
EFI_STATUS EFIAPI EfiNamedEventSignal(IN CONST EFI_GUID *Name)
EFI_STATUS EFIAPI EfiEventGroupSignal(IN CONST EFI_GUID *EventGroup)
EFI_STATUS EFIAPI EfiCreateEventLegacyBoot(OUT EFI_EVENT *LegacyBootEvent)
EFI_STATUS EFIAPI GetVariable2(IN CONST CHAR16 *Name, IN CONST EFI_GUID *Guid, OUT VOID **Value, OUT UINTN *Size OPTIONAL)
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateNextAcpiTable(IN UINT32 Signature, IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL)
EFI_STATUS EFIAPI EfiLibUninstallAllDriverProtocols2(IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION2_PROTOCOL *DriverConfiguration2 OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL)
VOID EFIAPI EfiAcquireLock(IN EFI_LOCK *Lock)
EFI_STATUS EFIAPI GetVariable3(IN CONST CHAR16 *Name, IN CONST EFI_GUID *Guid, OUT VOID **Value, OUT UINTN *Size OPTIONAL, OUT UINT32 *Attr OPTIONAL)
EFI_STATUS EFIAPI EfiLibUninstallDriverBindingComponentName2(IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL)
EFI_LOCK *EFIAPI EfiInitializeLock(IN OUT EFI_LOCK *Lock, IN EFI_TPL Priority)
VOID EFIAPI EfiInitializeFwVolDevicepathNode(IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode, IN CONST EFI_GUID *NameGuid)
EFI_STATUS EFIAPI EfiCreateEventReadyToBootEx(IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN VOID *NotifyContext OPTIONAL, OUT EFI_EVENT *ReadyToBootEvent)
EFI_STATUS EFIAPI EfiLibInstallAllDriverProtocols2(IN CONST EFI_HANDLE ImageHandle, IN CONST EFI_SYSTEM_TABLE *SystemTable, IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN EFI_HANDLE DriverBindingHandle, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION2_PROTOCOL *DriverConfiguration2 OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL)
EFI_STATUS EFIAPI LookupUnicodeString2(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable, OUT CHAR16 **UnicodeString, IN BOOLEAN Iso639Language)
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateFirstAcpiTable(IN UINT32 Signature)
VOID EFIAPI EfiSignalEventLegacyBoot(VOID)
EFI_STATUS EFIAPI EfiTestManagedDevice(IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE DriverBindingHandle, IN CONST EFI_GUID *ProtocolGuid)
EFI_STATUS EFIAPI EfiLibInstallAllDriverProtocols(IN CONST EFI_HANDLE ImageHandle, IN CONST EFI_SYSTEM_TABLE *SystemTable, IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN EFI_HANDLE DriverBindingHandle, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL)
EFI_STATUS EFIAPI IsLanguageSupported(IN CONST CHAR8 *SupportedLanguages, IN CONST CHAR8 *TargetLanguage)
VOID EFIAPI EfiSignalEventReadyToBoot(VOID)
EFI_STATUS EFIAPI EfiLocateProtocolBuffer(IN EFI_GUID *Protocol, OUT UINTN *NoProtocols, OUT VOID ***Buffer)
EFI_STATUS EFIAPI EfiLibInstallDriverBinding(IN CONST EFI_HANDLE ImageHandle, IN CONST EFI_SYSTEM_TABLE *SystemTable, IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN EFI_HANDLE DriverBindingHandle)
EFI_EVENT EFIAPI EfiCreateProtocolNotifyEvent(IN EFI_GUID *ProtocolGuid, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction, IN VOID *NotifyContext OPTIONAL, OUT VOID **Registration)
EFI_STATUS EFIAPI EfiLibUninstallAllDriverProtocols(IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL, IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL)
UINTN EFIAPI GetGlyphWidth(IN CHAR16 UnicodeChar)
EFI_STATUS EFIAPI AddUnicodeString(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable, IN CONST CHAR16 *UnicodeString)
EFI_STATUS EFIAPI EfiLibInstallDriverBindingComponentName2(IN CONST EFI_HANDLE ImageHandle, IN CONST EFI_SYSTEM_TABLE *SystemTable, IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding, IN EFI_HANDLE DriverBindingHandle, IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL, IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL)
EFI_STATUS EFIAPI FreeUnicodeStringTable(IN EFI_UNICODE_STRING_TABLE *UnicodeStringTable)
EFI_STATUS EFIAPI EfiLibUninstallDriverBinding(IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding)
EFI_GUID *EFIAPI EfiGetNameGuidFromFwVolDevicePathNode(IN CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode)
VOID(EFIAPI * EFI_EVENT_NOTIFY)(IN EFI_EVENT Event, IN VOID *Context)