Variable Services Functions - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

3.5
Variable Services
Variables are defined as key/value pairs that consist of identifying information plus attributes (the
key) and arbitrary data (the value). Variables are intended for use as a means to store data that is
passed between the EFI environment implemented in the platform and EFI OS loaders and other
applications that run in the EFI environment.
Although the implementation of variable storage is not defined in this specification, variables must
be persistent in most cases. This implies that the EFI implementation on a platform must arrange it
so that variables passed in for storage are retained and available for use each time the system boots,
at least until they are explicitly deleted or overwritten. Provision of this type of non-volatile
storage may be very limited on some platforms, so variables should be used sparingly in cases
where other means of communicating information cannot be used.
Table 3-10 lists the variable services functions described in this section:
Table 3-10. Variable Services Functions
Name
GetVariable
GetNextVariableName
SetVariable
Version 1.02
Type
Description
Runtime
Returns the value of a variable.
Runtime
Enumerates the current variable names.
Runtime
Sets the value of a variable.
12/12/00
Services
77

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?

Subscribe to Our Youtube Channel

Table of Contents