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,