diff options
Diffstat (limited to 'MdeModulePkg/Universal/Variable')
-rw-r--r-- | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Variable/Pei/Variable.c | 8 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c | 1 |
3 files changed, 2 insertions, 14 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c index 158e396963..8bee4950da 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c @@ -26,7 +26,6 @@ ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal; // when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
-STATIC
VOID
AcquireLockOnlyAtBootTime (
IN EFI_LOCK *Lock
@@ -42,7 +41,6 @@ AcquireLockOnlyAtBootTime ( // when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
-STATIC
VOID
ReleaseLockOnlyAtBootTime (
IN EFI_LOCK *Lock
@@ -53,7 +51,6 @@ ReleaseLockOnlyAtBootTime ( }
}
-STATIC
UINT8 *
GetVariableDataPtr (
IN VARIABLE_HEADER *Variable
@@ -83,7 +80,6 @@ Returns: return (UINT8 *) ((UINTN) GET_VARIABLE_NAME_PTR (Variable) + Variable->NameSize + GET_PAD_SIZE (Variable->NameSize));
}
-STATIC
VARIABLE_HEADER *
GetNextVariablePtr (
IN VARIABLE_HEADER *Variable
@@ -123,7 +119,6 @@ Returns: return VarHeader;
}
-STATIC
VARIABLE_HEADER *
GetEndPointer (
IN VARIABLE_STORE_HEADER *VolHeader
@@ -150,7 +145,6 @@ Returns: return (VARIABLE_HEADER *) ((UINTN) VolHeader + VolHeader->Size);
}
-STATIC
EFI_STATUS
FindVariable (
IN CHAR16 *VariableName,
@@ -796,7 +790,6 @@ Returns: return EFI_SUCCESS;
}
-STATIC
EFI_STATUS
InitializeVariableStore (
OUT EFI_PHYSICAL_ADDRESS *VariableBase,
diff --git a/MdeModulePkg/Universal/Variable/Pei/Variable.c b/MdeModulePkg/Universal/Variable/Pei/Variable.c index 1426124005..18e252f973 100644 --- a/MdeModulePkg/Universal/Variable/Pei/Variable.c +++ b/MdeModulePkg/Universal/Variable/Pei/Variable.c @@ -21,12 +21,12 @@ Module Name: //
// Module globals
//
-static EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariablePpi = {
+EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariablePpi = {
PeiGetVariable,
PeiGetNextVariableName
};
-static EFI_PEI_PPI_DESCRIPTOR mPpiListVariable = {
+EFI_PEI_PPI_DESCRIPTOR mPpiListVariable = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiReadOnlyVariable2PpiGuid,
&mVariablePpi
@@ -117,7 +117,6 @@ Returns: return (VARIABLE_HEADER *) HEADER_ALIGN ((UINTN) VarStoreHeader + VarStoreHeader->Size);
}
-STATIC
BOOLEAN
EFIAPI
IsValidVariableHeader (
@@ -298,7 +297,6 @@ Returns: }
-STATIC
VARIABLE_STORE_STATUS
EFIAPI
GetVariableStoreStatus (
@@ -342,7 +340,6 @@ Returns: }
}
-STATIC
EFI_STATUS
CompareWithValidVariable (
IN VARIABLE_HEADER *Variable,
@@ -399,7 +396,6 @@ Returns: return EFI_NOT_FOUND;
}
-STATIC
EFI_STATUS
EFIAPI
FindVariable (
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c index a235ba09f8..ed68f12017 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c @@ -79,7 +79,6 @@ GetFvbHandleByAddress ( return Status;
}
-STATIC
EFI_STATUS
GetLbaAndOffsetByAddress (
IN EFI_PHYSICAL_ADDRESS Address,
|