]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Sec/SecMain.h
Remove the code added originally to restore 8254 timer to 54ms.
[mirror_edk2.git] / Nt32Pkg / Sec / SecMain.h
index 7102d5f5fa2defdb65095634858ce5506cd30260..76522e3c655c96fd57d83de55d81420118bd33bb 100644 (file)
@@ -1,7 +1,7 @@
-/*++\r
+/**@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
@@ -16,21 +16,20 @@ Module Name:
 Abstract:\r
   Include file for Windows API based SEC\r
 \r
---*/\r
+**/\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
 #include <Ppi/StatusCode.h>\r
 #include <Ppi/NtFwh.h>\r
+#include <Ppi/TemporaryRamSupport.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/PrintLib.h>\r
@@ -39,7 +38,6 @@ Abstract:
 \r
 #include <IndustryStandard/PeImage.h>\r
 \r
-\r
 #define STACK_SIZE                0x20000      \r
 \r
 typedef struct {\r
@@ -527,7 +525,7 @@ Returns:
 \r
 UINTN\r
 CountSeperatorsInString (\r
-  IN  const CHAR16   *String,\r
+  IN  CONST CHAR16   *String,\r
   IN  CHAR16   Seperator\r
   )\r
 /*++\r
@@ -550,36 +548,12 @@ Returns:
 \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
+SecTemporaryRamSupport (\r
+  IN CONST EFI_PEI_SERVICES   **PeiServices,\r
+  IN EFI_PHYSICAL_ADDRESS     TemporaryMemoryBase,\r
+  IN EFI_PHYSICAL_ADDRESS     PermanentMemoryBase,\r
+  IN UINTN                    CopySize\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
-\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