]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/TemplateSec/TemplateSec.c
EmbeddedPkg/TemplateSec: remove unused module
[mirror_edk2.git] / EmbeddedPkg / TemplateSec / TemplateSec.c
diff --git a/EmbeddedPkg/TemplateSec/TemplateSec.c b/EmbeddedPkg/TemplateSec/TemplateSec.c
deleted file mode 100644 (file)
index c63adbb..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/** @file\r
-\r
-  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-\r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#include <PiPei.h>\r
-\r
-#include <Library/DebugLib.h>\r
-#include <Library/PrePiLib.h>\r
-#include <Library/PcdLib.h>\r
-\r
-#include <Ppi/GuidedSectionExtraction.h>\r
-\r
-VOID\r
-_ModuleEntryPoint (\r
-  VOID\r
-  )\r
-{\r
-}\r
-\r
-VOID\r
-CEntryPoint (\r
-  VOID    *MemoryBase,\r
-  UINTN   MemorySize,\r
-  VOID    *StackBase,\r
-  UINTN   StackSize\r
-  )\r
-{\r
-  EFI_PHYSICAL_ADDRESS  MemoryBegin;\r
-  UINT64                MemoryLength;\r
-  VOID                  *HobBase;\r
-\r
-  //\r
-  // Boot strap the C environment so the other library services will work properly.\r
-  //\r
-  MemoryBegin  = (EFI_PHYSICAL_ADDRESS)(UINTN)MemoryBase;\r
-  MemoryLength = (UINT64)MemorySize;\r
-  HobBase      = (VOID *)(UINTN)(FixedPcdGet32(PcdEmbeddedFdBaseAddress) + FixedPcdGet32(PcdEmbeddedFdSize));\r
-  CreateHobList (MemoryBase, MemorySize, HobBase, StackBase);\r
-\r
-  MemoryBegin  = (EFI_PHYSICAL_ADDRESS)(UINTN)StackBase;\r
-  MemoryLength = (UINT64)StackSize;\r
-  UpdateStackHob (MemoryBegin, MemoryLength);\r
-\r
-  DEBUG ((DEBUG_ERROR, "CEntryPoint (%x,%x,%x,%x)\n", MemoryBase, MemorySize, StackBase, StackSize));\r
-\r
-  //\r
-  // Add your C code stuff here....\r
-  //\r
-\r
-\r
-  //\r
-  // Load the DXE Core and transfer control to it\r
-  //\r
-\r
-  // Give the DXE Core access to our DEBUG and ASSERT infrastructure so this will work prior\r
-  // to the DXE version being loaded. Thus we close the debugging gap between phases.\r
-  AddDxeCoreReportStatusCodeCallback ();\r
-\r
-  //BuildFvHobs (PcdBfvBase, PcdBfvSize, NULL);\r
-\r
-  LoadDxeCoreFromFv (NULL, 0);\r
-\r
-  // DXE Core should always load and never return\r
-  ASSERT (FALSE);\r
-}\r
-\r