Getvariable() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

Extensible Firmware Interface Specification
3.5.1

GetVariable()

Summary
Returns the value of a variable.
Prototype
EFI_STATUS
GetVariable (
IN CHAR16
IN EFI_GUID
OUT UINT32
IN OUT UINTN
OUT VOID
);
Parameters
VariableName
VendorGuid
Attributes
DataSize
Data
Related Definitions
//*******************************************************
// Variable Attributes
//*******************************************************
#define EFI_VARIABLE_NON_VOLATILE
#define EFI_VARIABLE_BOOTSERVICE_ACCESS
#define EFI_VARIABLE_RUNTIME_ACCESS
78
*VariableName,
*VendorGuid,
*Attributes OPTIONAL,
*DataSize,
*Data
A Null-terminated Unicode string that is the name of the
vendor's variable.
A unique identifier for the vendor. Type
in Section 3.3.1.
If not NULL, a pointer to the memory location to return the
attributes bitmask for the variable. See "Related Definitions".
On input, the size in bytes of the return
On output the size of data returned in Data.
The buffer to return the contents of the variable.
12/12/00
is defined
EFI_GUID
buffer.
Data
0x0000000000000001
0x0000000000000002
0x0000000000000004
Version 1.02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Table of Contents