MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / GetEfiGlobalVariable2

Function GetEfiGlobalVariable2

MdePkg/Library/UefiLib/UefiLib.c:1574–1583  ·  view source on GitHub ↗

Returns a pointer to an allocated buffer that contains the contents of a variable retrieved through the UEFI Runtime Service GetVariable(). This function always uses the EFI_GLOBAL_VARIABLE GUID to retrieve variables. The returned buffer is allocated using AllocatePool(). The caller is responsible for freeing this buffer with FreePool(). If Name is NULL, then ASSERT(). If Val

Source from the content-addressed store, hash-verified

1572
1573**/
1574EFI_STATUS
1575EFIAPI
1576GetEfiGlobalVariable2 (
1577 IN CONST CHAR16 *Name,
1578 OUT VOID **Value,
1579 OUT UINTN *Size OPTIONAL
1580 )
1581{
1582 return GetVariable2 (Name, &gEfiGlobalVariableGuid, Value, Size);
1583}
1584
1585/**
1586 Returns a pointer to an allocated buffer that contains the best matching language

Callers 15

InitializeLangVariableFunction · 0.85
InitializeHotkeyServiceFunction · 0.85
InitializeFrontPageFunction · 0.85
CommandInitFunction · 0.85
BcfgAddOptFunction · 0.85
UiCreateLanguageMenuFunction · 0.85
InitializeLangVariableFunction · 0.85

Calls 1

GetVariable2Function · 0.85

Tested by

no test coverage detected