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:
jljusten 2009-03-24 18:42:18 +00:00
parent f6a6518251
commit bd682470fc
3 changed files with 12 additions and 12 deletions

View File

@ -360,7 +360,7 @@ FindVariable (
**/
EFI_STATUS
EFIAPI
GetVariable (
EmuGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID * VendorGuid,
OUT UINT32 *Attributes OPTIONAL,
@ -436,7 +436,7 @@ Done:
**/
EFI_STATUS
EFIAPI
GetNextVariableName (
EmuGetNextVariableName (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid,
@ -550,7 +550,7 @@ Done:
**/
EFI_STATUS
EFIAPI
SetVariable (
EmuSetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
IN UINT32 Attributes,
@ -785,7 +785,7 @@ Done:
**/
EFI_STATUS
EFIAPI
QueryVariableInfo (
EmuQueryVariableInfo (
IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize,

View File

@ -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,

View File

@ -149,7 +149,7 @@ VariableClassAddressChangeEvent (
**/
EFI_STATUS
EFIAPI
GetVariable (
EmuGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID * VendorGuid,
OUT UINT32 *Attributes OPTIONAL,
@ -180,7 +180,7 @@ GetVariable (
**/
EFI_STATUS
EFIAPI
GetNextVariableName (
EmuGetNextVariableName (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid,
@ -220,7 +220,7 @@ GetNextVariableName (
**/
EFI_STATUS
EFIAPI
SetVariable (
EmuSetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
IN UINT32 Attributes,
@ -256,7 +256,7 @@ SetVariable (
**/
EFI_STATUS
EFIAPI
QueryVariableInfo (
EmuQueryVariableInfo (
IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize,