]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Sec/SecMain.h
MdeModulePkg CapsuleApp: Do not parse bits in CapsuleFlags of ESRT
[mirror_edk2.git] / Nt32Pkg / Sec / SecMain.h
index c71f287c7c00e858e3e90bb1e6df12e0acaf60bc..8b198789b2ddbd2574eded8150698838d71ea9c4 100644 (file)
@@ -1,7 +1,7 @@
 /**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\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
@@ -19,13 +19,11 @@ Abstract:
 **/\r
 \r
 #include <stdio.h>\r
-#include <Base.h>\r
 #include <PiPei.h>\r
-#include <PiDxe.h>\r
 #include <WinNtPeim.h>\r
+#include <Guid/StatusCodeDataTypeDebug.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/PeCoffLib.h>\r
-#include <Guid/PeiPeCoffLoader.h>\r
 #include <Ppi/NtPeiLoadFile.h>\r
 #include <Ppi/NtAutoscan.h>\r
 #include <Ppi/NtThunk.h>\r
@@ -40,7 +38,6 @@ Abstract:
 \r
 #include <IndustryStandard/PeImage.h>\r
 \r
-\r
 #define STACK_SIZE                0x20000      \r
 \r
 typedef struct {\r
@@ -527,9 +524,9 @@ Returns:
 ;\r
 \r
 UINTN\r
-CountSeperatorsInString (\r
+CountSeparatorsInString (\r
   IN  CONST CHAR16   *String,\r
-  IN  CHAR16   Seperator\r
+  IN  CHAR16   Separator\r
   )\r
 /*++\r
 \r
@@ -540,7 +537,7 @@ Routine Description:
 Arguments:\r
 \r
   String    - TODO: add argument description\r
-  Seperator - TODO: add argument description\r
+  Separator - TODO: add argument description\r
 \r
 Returns:\r
 \r
@@ -549,34 +546,6 @@ Returns:
 --*/\r
 ;\r
 \r
-EFI_STATUS\r
-EFIAPI\r
-SecNt32PeCoffGetImageInfo (\r
-  IN EFI_PEI_PE_COFF_LOADER_PROTOCOL          *This,\r
-  IN OUT PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext\r
-  );\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-SecNt32PeCoffLoadImage (\r
-  IN EFI_PEI_PE_COFF_LOADER_PROTOCOL          *This,\r
-  IN OUT PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext\r
-  );\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-SecNt32PeCoffRelocateImage (\r
-  IN EFI_PEI_PE_COFF_LOADER_PROTOCOL          *This,\r
-  IN OUT PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext\r
-  );\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-SecNt32PeCoffUnloadimage (\r
-  IN EFI_PEI_PE_COFF_LOADER_PROTOCOL      *This,\r
-  IN PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext\r
-  );\r
-\r
 EFI_STATUS\r
 EFIAPI\r
 SecTemporaryRamSupport (\r
@@ -586,9 +555,5 @@ SecTemporaryRamSupport (
   IN UINTN                    CopySize\r
   );\r
 \r
-typedef struct {\r
-  EFI_PEI_PE_COFF_LOADER_PROTOCOL PeCoff;\r
-  VOID                            *ModHandle;\r
-} EFI_PEI_PE_COFF_LOADER_PROTOCOL_INSTANCE;\r
 \r
 extern EFI_WIN_NT_THUNK_PROTOCOL  *gWinNt;\r