summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/TemplateSec
diff options
context:
space:
mode:
Diffstat (limited to 'EmbeddedPkg/TemplateSec')
-rw-r--r--EmbeddedPkg/TemplateSec/TemplateSec.c20
-rw-r--r--EmbeddedPkg/TemplateSec/TemplateSec.inf14
2 files changed, 17 insertions, 17 deletions
diff --git a/EmbeddedPkg/TemplateSec/TemplateSec.c b/EmbeddedPkg/TemplateSec/TemplateSec.c
index b43bb13..c63adbb 100644
--- a/EmbeddedPkg/TemplateSec/TemplateSec.c
+++ b/EmbeddedPkg/TemplateSec/TemplateSec.c
@@ -1,7 +1,7 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-
+
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -46,30 +46,30 @@ CEntryPoint (
MemoryLength = (UINT64)MemorySize;
HobBase = (VOID *)(UINTN)(FixedPcdGet32(PcdEmbeddedFdBaseAddress) + FixedPcdGet32(PcdEmbeddedFdSize));
CreateHobList (MemoryBase, MemorySize, HobBase, StackBase);
-
+
MemoryBegin = (EFI_PHYSICAL_ADDRESS)(UINTN)StackBase;
MemoryLength = (UINT64)StackSize;
UpdateStackHob (MemoryBegin, MemoryLength);
DEBUG ((DEBUG_ERROR, "CEntryPoint (%x,%x,%x,%x)\n", MemoryBase, MemorySize, StackBase, StackSize));
-
+
//
// Add your C code stuff here....
//
-
-
+
+
//
// Load the DXE Core and transfer control to it
//
-
- // Give the DXE Core access to our DEBUG and ASSERT infrastructure so this will work prior
+
+ // Give the DXE Core access to our DEBUG and ASSERT infrastructure so this will work prior
// to the DXE version being loaded. Thus we close the debugging gap between phases.
AddDxeCoreReportStatusCodeCallback ();
-
+
//BuildFvHobs (PcdBfvBase, PcdBfvSize, NULL);
-
+
LoadDxeCoreFromFv (NULL, 0);
-
+
// DXE Core should always load and never return
ASSERT (FALSE);
}
diff --git a/EmbeddedPkg/TemplateSec/TemplateSec.inf b/EmbeddedPkg/TemplateSec/TemplateSec.inf
index 81f4ac7..3a63e59 100644
--- a/EmbeddedPkg/TemplateSec/TemplateSec.inf
+++ b/EmbeddedPkg/TemplateSec/TemplateSec.inf
@@ -1,18 +1,18 @@
#/** @file
-#
+#
# Component description file for DxeIpl module
-#
+#
# The responsibility of this module is to load the DXE Core from a Firmware Volume. This implementation i used to load a 32-bit DXE Core.
-#
+#
# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
-#
+#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-#
+#
#**/
[Defines]
@@ -48,7 +48,7 @@
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
-
+
[LibraryClasses]
BaseLib
@@ -58,7 +58,7 @@
PeCoffLib
CacheMaintenanceLib
PrePiLib
-
+
[Pcd]
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress
gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize