summaryrefslogtreecommitdiff
path: root/DuetPkg/EfiLdr
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/EfiLdr')
-rw-r--r--DuetPkg/EfiLdr/EfiLoader.c3
-rw-r--r--DuetPkg/EfiLdr/PeLoader.c6
-rw-r--r--DuetPkg/EfiLdr/TianoDecompress.c8
3 files changed, 1 insertions, 16 deletions
diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c
index b3f8d8cc3e..88bce2f074 100644
--- a/DuetPkg/EfiLdr/EfiLoader.c
+++ b/DuetPkg/EfiLdr/EfiLoader.c
@@ -24,7 +24,6 @@ Revision History:
#include "PeLoader.h"
#include "TianoDecompress.h"
-STATIC
VOID
SystemHang(
VOID
@@ -52,7 +51,7 @@ EfiLoader (
UINTN BfvBase;
EFI_MAIN_ENTRYPOINT EfiMainEntrypoint;
CHAR8 PrintBuffer[256];
- static EFILDRHANDOFF Handoff;
+ STATIC EFILDRHANDOFF Handoff;
ClearScreen();
diff --git a/DuetPkg/EfiLdr/PeLoader.c b/DuetPkg/EfiLdr/PeLoader.c
index e5b6d93146..721befb32e 100644
--- a/DuetPkg/EfiLdr/PeLoader.c
+++ b/DuetPkg/EfiLdr/PeLoader.c
@@ -21,7 +21,6 @@ Revision History:
#include "Debug.h"
#include "Support.h"
-STATIC
EFI_STATUS
EfiLdrPeCoffLoadPeRelocate (
IN EFILDR_LOADED_IMAGE *Image,
@@ -31,7 +30,6 @@ EfiLdrPeCoffLoadPeRelocate (
IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor
);
-STATIC
EFI_STATUS
EfiLdrPeCoffImageRead (
IN VOID *FHand,
@@ -40,7 +38,6 @@ EfiLdrPeCoffImageRead (
OUT VOID *Buffer
);
-STATIC
VOID *
EfiLdrPeCoffImageAddress (
IN EFILDR_LOADED_IMAGE *Image,
@@ -404,7 +401,6 @@ PrintHeader ('M');
return Status;
}
-STATIC
EFI_STATUS
EfiLdrPeCoffLoadPeRelocate (
IN EFILDR_LOADED_IMAGE *Image,
@@ -537,7 +533,6 @@ PrintHeader ('Q');
return EFI_SUCCESS;
}
-STATIC
EFI_STATUS
EfiLdrPeCoffImageRead (
IN VOID *FHand,
@@ -551,7 +546,6 @@ EfiLdrPeCoffImageRead (
return EFI_SUCCESS;
}
-STATIC
VOID *
EfiLdrPeCoffImageAddress (
IN EFILDR_LOADED_IMAGE *Image,
diff --git a/DuetPkg/EfiLdr/TianoDecompress.c b/DuetPkg/EfiLdr/TianoDecompress.c
index df7efbd750..6e4bba7b36 100644
--- a/DuetPkg/EfiLdr/TianoDecompress.c
+++ b/DuetPkg/EfiLdr/TianoDecompress.c
@@ -74,7 +74,6 @@ typedef struct {
UINT8 mPBit;
} SCRATCH_DATA;
-STATIC
VOID
FillBuf (
IN SCRATCH_DATA *Sd,
@@ -124,7 +123,6 @@ Returns: (VOID)
Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount;
}
-STATIC
UINT32
GetBits (
IN SCRATCH_DATA *Sd,
@@ -158,7 +156,6 @@ Returns:
return OutBits;
}
-STATIC
UINT16
MakeTable (
IN SCRATCH_DATA *Sd,
@@ -288,7 +285,6 @@ Returns:
return 0;
}
-STATIC
UINT32
DecodeP (
IN SCRATCH_DATA *Sd
@@ -342,7 +338,6 @@ Returns:
return Pos;
}
-STATIC
UINT16
ReadPTLen (
IN SCRATCH_DATA *Sd,
@@ -419,7 +414,6 @@ Returns:
return MakeTable (Sd, nn, Sd->mPTLen, 8, Sd->mPTTable);
}
-STATIC
VOID
ReadCLen (
SCRATCH_DATA *Sd
@@ -509,7 +503,6 @@ Returns: (VOID)
return ;
}
-STATIC
UINT16
DecodeC (
SCRATCH_DATA *Sd
@@ -575,7 +568,6 @@ Returns:
return Index2;
}
-STATIC
VOID
Decode (
SCRATCH_DATA *Sd