diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-24 18:42:18 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-24 18:42:18 +0000 |
commit | bd682470fcbdaecf9e1b6376940274db23e1a099 (patch) | |
tree | 716b2f1304477ed112da105317f882e00fd12e1b /MdeModulePkg/Universal/Variable/EmuRuntimeDxe | |
parent | f6a651825197085fbd80099658d04c2cd58ccc68 (diff) | |
download | edk2-platforms-bd682470fcbdaecf9e1b6376940274db23e1a099.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/Variable/EmuRuntimeDxe')
3 files changed, 12 insertions, 12 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c index ef9d35de9f..21a689734b 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c @@ -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,
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c index a08af6dae4..fa2b2a32ba 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/InitVariable.c @@ -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,
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h index a3fc9d1eeb..cd83e6c1f5 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h @@ -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,
|