TianoCore EDK2 master
UefiLib.h
Go to the documentation of this file.
1
21#ifndef __UEFI_LIB_H__
22#define __UEFI_LIB_H__
23
25
33#include <Protocol/DevicePath.h>
35
36#include <Library/BaseLib.h>
37
41typedef struct {
42 CHAR8 *Language;
43 CHAR16 *UnicodeString;
45
49typedef enum {
50 EfiLockUninitialized = 0,
51 EfiLockReleased = 1,
52 EfiLockAcquired = 2
54
58typedef struct {
59 EFI_TPL Tpl;
60 EFI_TPL OwnerTpl;
62} EFI_LOCK;
63
74#define EFI_TIMER_PERIOD_MICROSECONDS(Microseconds) MultU64x32((UINT64)(Microseconds), 10)
75
86#define EFI_TIMER_PERIOD_MILLISECONDS(Milliseconds) MultU64x32((UINT64)(Milliseconds), 10000)
87
98#define EFI_TIMER_PERIOD_SECONDS(Seconds) MultU64x32((UINT64)(Seconds), 10000000)
99
111#define NEXT_MEMORY_DESCRIPTOR(MemoryDescriptor, Size) \
112 ((EFI_MEMORY_DESCRIPTOR *)((UINT8 *)(MemoryDescriptor) + (Size)))
113
133EFIAPI
135 IN EFI_GUID *TableGuid,
136 OUT VOID **Table
137 );
138
167EFIAPI
169 IN EFI_GUID *ProtocolGuid,
170 IN EFI_TPL NotifyTpl,
172 IN VOID *NotifyContext OPTIONAL,
173 OUT VOID **Registration
174 );
175
197EFIAPI
199 IN CONST EFI_GUID *Name,
200 IN EFI_TPL NotifyTpl,
202 IN CONST VOID *NotifyContext OPTIONAL,
203 OUT VOID *Registration OPTIONAL
204 );
205
220EFIAPI
222 IN CONST EFI_GUID *Name
223 );
224
238EFIAPI
240 IN CONST EFI_GUID *EventGroup
241 );
242
252VOID
253EFIAPI
255 IN EFI_EVENT Event,
256 IN VOID *Context
257 );
258
272EFIAPI
274 VOID
275 );
276
293EFI_LOCK *
294EFIAPI
297 IN EFI_TPL Priority
298 );
299
313#define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \
314 {Priority, TPL_APPLICATION, EfiLockReleased }
315
330#if !defined (MDEPKG_NDEBUG)
331#define ASSERT_LOCKED(LockParameter) \
332 do { \
333 if (DebugAssertEnabled ()) { \
334 ASSERT (LockParameter != NULL); \
335 if ((LockParameter)->Lock != EfiLockAcquired) { \
336 _ASSERT (LockParameter not locked); \
337 } \
338 } \
339 } while (FALSE)
340#else
341#define ASSERT_LOCKED(LockParameter)
342#endif
343
357VOID
358EFIAPI
361 );
362
380EFIAPI
383 );
384
398VOID
399EFIAPI
402 );
403
428EFIAPI
430 IN CONST EFI_HANDLE ControllerHandle,
431 IN CONST EFI_HANDLE DriverBindingHandle,
432 IN CONST EFI_GUID *ProtocolGuid
433 );
434
455EFIAPI
457 IN CONST EFI_HANDLE ControllerHandle,
458 IN CONST EFI_HANDLE ChildHandle,
459 IN CONST EFI_GUID *ProtocolGuid
460 );
461
474EFIAPI
476 IN CONST CHAR8 *SupportedLanguages,
477 IN CONST CHAR8 *TargetLanguage
478 );
479
511EFIAPI
513 IN CONST CHAR8 *Language,
514 IN CONST CHAR8 *SupportedLanguages,
515 IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable,
516 OUT CHAR16 **UnicodeString
517 );
518
560EFIAPI
562 IN CONST CHAR8 *Language,
563 IN CONST CHAR8 *SupportedLanguages,
564 IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable,
565 OUT CHAR16 **UnicodeString,
566 IN BOOLEAN Iso639Language
567 );
568
603EFIAPI
605 IN CONST CHAR8 *Language,
606 IN CONST CHAR8 *SupportedLanguages,
607 IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
608 IN CONST CHAR16 *UnicodeString
609 );
610
654EFIAPI
656 IN CONST CHAR8 *Language,
657 IN CONST CHAR8 *SupportedLanguages,
658 IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
659 IN CONST CHAR16 *UnicodeString,
660 IN BOOLEAN Iso639Language
661 );
662
676EFIAPI
678 IN EFI_UNICODE_STRING_TABLE *UnicodeStringTable
679 );
680
702EFIAPI
704 IN CONST CHAR16 *Name,
705 IN CONST EFI_GUID *Guid,
706 OUT VOID **Value,
707 OUT UINTN *Size OPTIONAL
708 );
709
730EFIAPI
732 IN CONST CHAR16 *Name,
733 OUT VOID **Value,
734 OUT UINTN *Size OPTIONAL
735 );
736
761EFIAPI
763 IN CONST CHAR16 *Name,
764 IN CONST EFI_GUID *Guid,
765 OUT VOID **Value,
766 OUT UINTN *Size OPTIONAL,
767 OUT UINT32 *Attr OPTIONAL
768 );
769
811CHAR8 *
812EFIAPI
814 IN CONST CHAR8 *SupportedLanguages,
815 IN UINTN Iso639Language,
816 ...
817 );
818
837VOID
838EFIAPI
840 IN UINTN Attribute,
841 OUT EFI_INPUT_KEY *Key OPTIONAL,
842 ...
843 );
844
858UINTN
859EFIAPI
861 IN CHAR16 UnicodeChar
862 );
863
880UINTN
881EFIAPI
883 IN CONST CHAR16 *String
884 );
885
886//
887// Functions that abstract early Framework contamination of UEFI.
888//
889
899VOID
900EFIAPI
902 VOID
903 );
904
914VOID
915EFIAPI
917 VOID
918 );
919
938EFIAPI
940 OUT EFI_EVENT *LegacyBootEvent
941 );
942
963EFIAPI
965 IN EFI_TPL NotifyTpl,
967 IN VOID *NotifyContext OPTIONAL,
968 OUT EFI_EVENT *LegacyBootEvent
969 );
970
989EFIAPI
991 OUT EFI_EVENT *ReadyToBootEvent
992 );
993
1014EFIAPI
1016 IN EFI_TPL NotifyTpl,
1018 IN VOID *NotifyContext OPTIONAL,
1019 OUT EFI_EVENT *ReadyToBootEvent
1020 );
1021
1038VOID
1039EFIAPI
1041 IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode,
1042 IN CONST EFI_GUID *NameGuid
1043 );
1044
1063EFI_GUID *
1064EFIAPI
1067 );
1068
1089UINTN
1090EFIAPI
1091Print (
1092 IN CONST CHAR16 *Format,
1093 ...
1094 );
1095
1116UINTN
1117EFIAPI
1118ErrorPrint (
1119 IN CONST CHAR16 *Format,
1120 ...
1121 );
1122
1142UINTN
1143EFIAPI
1144AsciiPrint (
1145 IN CONST CHAR8 *Format,
1146 ...
1147 );
1148
1168UINTN
1169EFIAPI
1171 IN CONST CHAR8 *Format,
1172 ...
1173 );
1174
1215UINTN
1216EFIAPI
1217PrintXY (
1218 IN UINTN PointX,
1219 IN UINTN PointY,
1220 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ForeGround OPTIONAL,
1221 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BackGround OPTIONAL,
1222 IN CONST CHAR16 *Format,
1223 ...
1224 );
1225
1265UINTN
1266EFIAPI
1268 IN UINTN PointX,
1269 IN UINTN PointY,
1270 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ForeGround OPTIONAL,
1271 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BackGround OPTIONAL,
1272 IN CONST CHAR8 *Format,
1273 ...
1274 );
1275
1299EFIAPI
1301 IN CONST EFI_HANDLE ImageHandle,
1302 IN CONST EFI_SYSTEM_TABLE *SystemTable,
1303 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1304 IN EFI_HANDLE DriverBindingHandle
1305 );
1306
1320EFIAPI
1322 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding
1323 );
1324
1352EFIAPI
1354 IN CONST EFI_HANDLE ImageHandle,
1355 IN CONST EFI_SYSTEM_TABLE *SystemTable,
1356 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1357 IN EFI_HANDLE DriverBindingHandle,
1358 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1359 IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL,
1360 IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
1361 );
1362
1380EFIAPI
1382 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1383 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1384 IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL,
1385 IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL
1386 );
1387
1412EFIAPI
1414 IN CONST EFI_HANDLE ImageHandle,
1415 IN CONST EFI_SYSTEM_TABLE *SystemTable,
1416 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1417 IN EFI_HANDLE DriverBindingHandle,
1418 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1419 IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL
1420 );
1421
1437EFIAPI
1439 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1440 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1441 IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL
1442 );
1443
1474EFIAPI
1476 IN CONST EFI_HANDLE ImageHandle,
1477 IN CONST EFI_SYSTEM_TABLE *SystemTable,
1478 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1479 IN EFI_HANDLE DriverBindingHandle,
1480 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1481 IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL,
1482 IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL,
1483 IN CONST EFI_DRIVER_CONFIGURATION2_PROTOCOL *DriverConfiguration2 OPTIONAL,
1484 IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL,
1485 IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
1486 );
1487
1509EFIAPI
1511 IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding,
1512 IN CONST EFI_COMPONENT_NAME_PROTOCOL *ComponentName OPTIONAL,
1513 IN CONST EFI_COMPONENT_NAME2_PROTOCOL *ComponentName2 OPTIONAL,
1514 IN CONST EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration OPTIONAL,
1515 IN CONST EFI_DRIVER_CONFIGURATION2_PROTOCOL *DriverConfiguration2 OPTIONAL,
1516 IN CONST EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics OPTIONAL,
1517 IN CONST EFI_DRIVER_DIAGNOSTICS2_PROTOCOL *DriverDiagnostics2 OPTIONAL
1518 );
1519
1541CHAR16 *
1542EFIAPI
1543CatVSPrint (
1544 IN CHAR16 *String OPTIONAL,
1545 IN CONST CHAR16 *FormatString,
1546 IN VA_LIST Marker
1547 );
1548
1572CHAR16 *
1573EFIAPI
1574CatSPrint (
1575 IN CHAR16 *String OPTIONAL,
1576 IN CONST CHAR16 *FormatString,
1577 ...
1578 );
1579
1604EFIAPI
1606 IN EFI_GUID *Protocol,
1607 OUT UINTN *NoProtocols,
1608 OUT VOID ***Buffer
1609 );
1610
1676EFIAPI
1678 IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath,
1679 OUT EFI_FILE_PROTOCOL **File,
1680 IN UINT64 OpenMode,
1681 IN UINT64 Attributes
1682 );
1683
1720EFIAPI
1722 IN UINT32 Signature,
1723 IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL
1724 );
1725
1744EFIAPI
1746 IN UINT32 Signature
1747 );
1748
1749#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
CHAR8 * VA_LIST
Definition: Base.h:635
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: ScsiBus.c:1486
EFI_STATUS EFIAPI Lock(IN EFI_SMM_ACCESS2_PROTOCOL *This)
Definition: SmmAccessDxe.c:133
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:28
VOID * EFI_EVENT
Definition: UefiBaseType.h:36
UINTN EFI_TPL
Definition: UefiBaseType.h:40
VOID * EFI_HANDLE
Definition: UefiBaseType.h:32
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)
Definition: UefiLib.c:1087
EFI_STATUS EFIAPI EfiOpenFileByDevicePath(IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath, OUT EFI_FILE_PROTOCOL **File, IN UINT64 OpenMode, IN UINT64 Attributes)
Definition: UefiLib.c:1806
EFI_STATUS EFIAPI EfiCreateEventLegacyBootEx(IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN VOID *NotifyContext OPTIONAL, OUT EFI_EVENT *LegacyBootEvent)
Definition: UefiNotTiano.c:68
EFI_TPL EFIAPI EfiGetCurrentTpl(VOID)
Definition: UefiLib.c:375
VOID EFIAPI EfiReleaseLock(IN EFI_LOCK *Lock)
Definition: UefiLib.c:499
UINTN EFIAPI PrintXY(IN UINTN PointX, IN UINTN PointY, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ForeGround OPTIONAL, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BackGround OPTIONAL, IN CONST CHAR16 *Format,...)
Definition: UefiLibPrint.c:605
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)
Definition: UefiLib.c:205
CHAR16 *EFIAPI CatVSPrint(IN CHAR16 *String OPTIONAL, IN CONST CHAR16 *FormatString, IN VA_LIST Marker)
Definition: UefiLibPrint.c:742
EFI_STATUS EFIAPI GetEfiGlobalVariable2(IN CONST CHAR16 *Name, OUT VOID **Value, OUT UINTN *Size OPTIONAL)
Definition: UefiLib.c:1470
UINTN EFIAPI AsciiErrorPrint(IN CONST CHAR8 *Format,...)
Definition: UefiLibPrint.c:282
UINTN EFIAPI UnicodeStringDisplayLength(IN CONST CHAR16 *String)
Definition: Console.c:265
EFI_STATUS EFIAPI EfiTestChildHandle(IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE ChildHandle, IN CONST EFI_GUID *ProtocolGuid)
Definition: UefiLib.c:597
EFI_STATUS EFIAPI EfiAcquireLockOrFail(IN EFI_LOCK *Lock)
Definition: UefiLib.c:463
VOID EFIAPI EfiEventEmptyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: UefiLib.c:354
UINTN EFIAPI AsciiPrint(IN CONST CHAR8 *Format,...)
Definition: UefiLibPrint.c:242
EFI_STATUS EFIAPI EfiGetSystemConfigurationTable(IN EFI_GUID *TableGuid, OUT VOID **Table)
Definition: UefiLib.c:82
EFI_STATUS EFIAPI EfiCreateEventReadyToBoot(OUT EFI_EVENT *ReadyToBootEvent)
Definition: UefiNotTiano.c:131
EFI_STATUS EFIAPI LookupUnicodeString(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable, OUT CHAR16 **UnicodeString)
Definition: UefiLib.c:708
EFI_STATUS EFIAPI EfiNamedEventSignal(IN CONST EFI_GUID *Name)
Definition: UefiLib.c:272
EFI_STATUS EFIAPI EfiEventGroupSignal(IN CONST EFI_GUID *EventGroup)
Definition: UefiLib.c:314
EFI_STATUS EFIAPI EfiCreateEventLegacyBoot(OUT EFI_EVENT *LegacyBootEvent)
Definition: UefiNotTiano.c:35
EFI_STATUS EFIAPI GetVariable2(IN CONST CHAR16 *Name, IN CONST EFI_GUID *Guid, OUT VOID **Value, OUT UINTN *Size OPTIONAL)
Definition: UefiLib.c:1317
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateNextAcpiTable(IN UINT32 Signature, IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL)
Definition: Acpi.c:343
UINTN EFIAPI ErrorPrint(IN CONST CHAR16 *Format,...)
Definition: UefiLibPrint.c:148
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)
Definition: UefiLib.c:434
EFI_STATUS EFIAPI GetVariable3(IN CONST CHAR16 *Name, IN CONST EFI_GUID *Guid, OUT VOID **Value, OUT UINTN *Size OPTIONAL, OUT UINT32 *Attr OPTIONAL)
Definition: UefiLib.c:1393
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)
Definition: UefiLib.c:405
EFI_LOCK_STATE
Definition: UefiLib.h:49
VOID EFIAPI EfiInitializeFwVolDevicepathNode(IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode, IN CONST EFI_GUID *NameGuid)
Definition: UefiNotTiano.c:311
EFI_STATUS EFIAPI EfiCreateEventReadyToBootEx(IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN VOID *NotifyContext OPTIONAL, OUT EFI_EVENT *ReadyToBootEvent)
Definition: UefiNotTiano.c:164
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)
Definition: UefiLib.c:801
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateFirstAcpiTable(IN UINT32 Signature)
Definition: Acpi.c:421
VOID EFIAPI EfiSignalEventLegacyBoot(VOID)
Definition: UefiNotTiano.c:244
EFI_STATUS EFIAPI EfiTestManagedDevice(IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE DriverBindingHandle, IN CONST EFI_GUID *ProtocolGuid)
Definition: UefiLib.c:540
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)
CHAR16 *EFIAPI CatSPrint(IN CHAR16 *String OPTIONAL, IN CONST CHAR16 *FormatString,...)
Definition: UefiLibPrint.c:807
EFI_STATUS EFIAPI IsLanguageSupported(IN CONST CHAR8 *SupportedLanguages, IN CONST CHAR8 *TargetLanguage)
Definition: UefiLib.c:653
VOID EFIAPI EfiSignalEventReadyToBoot(VOID)
Definition: UefiNotTiano.c:219
EFI_STATUS EFIAPI EfiLocateProtocolBuffer(IN EFI_GUID *Protocol, OUT UINTN *NoProtocols, OUT VOID ***Buffer)
Definition: UefiLib.c:1650
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)
Definition: UefiLib.c:134
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)
Definition: Console.c:205
UINTN EFIAPI Print(IN CONST CHAR16 *Format,...)
Definition: UefiLibPrint.c:109
EFI_STATUS EFIAPI AddUnicodeString(IN CONST CHAR8 *Language, IN CONST CHAR8 *SupportedLanguages, IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable, IN CONST CHAR16 *UnicodeString)
Definition: UefiLib.c:912
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)
Definition: UefiLib.c:1257
EFI_STATUS EFIAPI EfiLibUninstallDriverBinding(IN EFI_DRIVER_BINDING_PROTOCOL *DriverBinding)
UINTN EFIAPI AsciiPrintXY(IN UINTN PointX, IN UINTN PointY, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *ForeGround OPTIONAL, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BackGround OPTIONAL, IN CONST CHAR8 *Format,...)
Definition: UefiLibPrint.c:684
VOID EFIAPI CreatePopUp(IN UINTN Attribute, OUT EFI_INPUT_KEY *Key OPTIONAL,...)
Definition: Console.c:393
CHAR8 *EFIAPI GetBestLanguage(IN CONST CHAR8 *SupportedLanguages, IN UINTN Iso639Language,...)
Definition: UefiLib.c:1522
EFI_GUID *EFIAPI EfiGetNameGuidFromFwVolDevicePathNode(IN CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode)
Definition: UefiNotTiano.c:278
VOID(EFIAPI * EFI_EVENT_NOTIFY)(IN EFI_EVENT Event, IN VOID *Context)
Definition: UefiSpec.h:441
Definition: Base.h:213