mirror of https://github.com/acidanthera/audk.git
Fix line endings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10062 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ea02543004
commit
14e00c13be
|
@ -184,15 +184,16 @@ CEntryPoint (
|
||||||
{
|
{
|
||||||
VOID *HobBase;
|
VOID *HobBase;
|
||||||
|
|
||||||
|
// Build a basic HOB list
|
||||||
|
HobBase = (VOID *)(UINTN)(FixedPcdGet32(PcdEmbeddedFdBaseAddress) + FixedPcdGet32(PcdEmbeddedFdSize));
|
||||||
|
CreateHobList (MemoryBase, MemorySize, HobBase, StackBase);
|
||||||
|
|
||||||
//Set up Pin muxing.
|
//Set up Pin muxing.
|
||||||
PadConfiguration ();
|
PadConfiguration ();
|
||||||
|
|
||||||
// Set up system clocking
|
// Set up system clocking
|
||||||
ClockInit ();
|
ClockInit ();
|
||||||
|
|
||||||
// Build a basic HOB list
|
|
||||||
HobBase = (VOID *)(UINTN)(FixedPcdGet32(PcdEmbeddedFdBaseAddress) + FixedPcdGet32(PcdEmbeddedFdSize));
|
|
||||||
CreateHobList (MemoryBase, MemorySize, HobBase, StackBase);
|
|
||||||
|
|
||||||
// Enable program flow prediction, if supported.
|
// Enable program flow prediction, if supported.
|
||||||
ArmEnableBranchPrediction ();
|
ArmEnableBranchPrediction ();
|
||||||
|
@ -222,7 +223,6 @@ CEntryPoint (
|
||||||
VOID *PeCoffImage;
|
VOID *PeCoffImage;
|
||||||
UINT32 Offset;
|
UINT32 Offset;
|
||||||
CHAR8 *FilePath;
|
CHAR8 *FilePath;
|
||||||
|
|
||||||
FfsAnyFvFindFirstFile (EFI_FV_FILETYPE_SECURITY_CORE, &VolumeHandle, &FileHandle);
|
FfsAnyFvFindFirstFile (EFI_FV_FILETYPE_SECURITY_CORE, &VolumeHandle, &FileHandle);
|
||||||
Status = FfsFindSectionData (EFI_SECTION_TE, FileHandle, &PeCoffImage);
|
Status = FfsFindSectionData (EFI_SECTION_TE, FileHandle, &PeCoffImage);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
|
@ -271,6 +271,7 @@ CEntryPoint (
|
||||||
LzmaGuidedSectionExtraction
|
LzmaGuidedSectionExtraction
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Assume the FV that contains the SEC (our code) also contains a compressed FV.
|
||||||
DecompressFirstFv ();
|
DecompressFirstFv ();
|
||||||
|
|
||||||
// Load the DXE Core and transfer control to it
|
// Load the DXE Core and transfer control to it
|
||||||
|
|
Loading…
Reference in New Issue