Prefix variable services functions with 'Emu'. Specifically this is
done to avoid a conflict with the 'GetVariable' function defined in edk2/MdePkg/Include/Library/UefiLib.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7941 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -45,7 +45,7 @@ RuntimeServiceGetVariable (
|
||||
OUT VOID *Data
|
||||
)
|
||||
{
|
||||
return GetVariable (
|
||||
return EmuGetVariable (
|
||||
VariableName,
|
||||
VendorGuid,
|
||||
Attributes OPTIONAL,
|
||||
@@ -78,7 +78,7 @@ RuntimeServiceGetNextVariableName (
|
||||
IN OUT EFI_GUID *VendorGuid
|
||||
)
|
||||
{
|
||||
return GetNextVariableName (
|
||||
return EmuGetNextVariableName (
|
||||
VariableNameSize,
|
||||
VariableName,
|
||||
VendorGuid,
|
||||
@@ -115,7 +115,7 @@ RuntimeServiceSetVariable (
|
||||
IN VOID *Data
|
||||
)
|
||||
{
|
||||
return SetVariable (
|
||||
return EmuSetVariable (
|
||||
VariableName,
|
||||
VendorGuid,
|
||||
Attributes,
|
||||
@@ -155,7 +155,7 @@ RuntimeServiceQueryVariableInfo (
|
||||
OUT UINT64 *MaximumVariableSize
|
||||
)
|
||||
{
|
||||
return QueryVariableInfo (
|
||||
return EmuQueryVariableInfo (
|
||||
Attributes,
|
||||
MaximumVariableStorageSize,
|
||||
RemainingVariableStorageSize,
|
||||
|
Reference in New Issue
Block a user