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

View File

@ -45,7 +45,7 @@ RuntimeServiceGetVariable (
OUT VOID *Data OUT VOID *Data
) )
{ {
return GetVariable ( return EmuGetVariable (
VariableName, VariableName,
VendorGuid, VendorGuid,
Attributes OPTIONAL, Attributes OPTIONAL,
@ -78,7 +78,7 @@ RuntimeServiceGetNextVariableName (
IN OUT EFI_GUID *VendorGuid IN OUT EFI_GUID *VendorGuid
) )
{ {
return GetNextVariableName ( return EmuGetNextVariableName (
VariableNameSize, VariableNameSize,
VariableName, VariableName,
VendorGuid, VendorGuid,
@ -115,7 +115,7 @@ RuntimeServiceSetVariable (
IN VOID *Data IN VOID *Data
) )
{ {
return SetVariable ( return EmuSetVariable (
VariableName, VariableName,
VendorGuid, VendorGuid,
Attributes, Attributes,
@ -155,7 +155,7 @@ RuntimeServiceQueryVariableInfo (
OUT UINT64 *MaximumVariableSize OUT UINT64 *MaximumVariableSize
) )
{ {
return QueryVariableInfo ( return EmuQueryVariableInfo (
Attributes, Attributes,
MaximumVariableStorageSize, MaximumVariableStorageSize,
RemainingVariableStorageSize, RemainingVariableStorageSize,

View File

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