]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/EfiLdr/EfiLdr.h
ArmPlatformPkg: remove unused SP804 driver and TimerLib implementation
[mirror_edk2.git] / DuetPkg / EfiLdr / EfiLdr.h
index b1d0e1c2724350a250f6f13037fb441127ce8608..4f21cf3f790f9cb4b10882bff95f07efabdc26e6 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2011, 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
@@ -21,15 +21,15 @@ Revision History:
 #ifndef _DUET_EFI_LOADER_H_\r
 #define _DUET_EFI_LOADER_H_\r
 \r
-#include "FrameworkDxe.h"\r
 #include "Uefi.h"\r
 #include "EfiLdrHandoff.h"\r
 \r
 #include <Protocol/LoadedImage.h>\r
-#include <Protocol/EdkDecompress.h>\r
 #include <IndustryStandard/PeImage.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
+#include <Library/PrintLib.h>\r
+#include <Library/SerialPortLib.h>\r
 \r
 #define INT15_E820_AddressRangeMemory   1\r
 #define INT15_E820_AddressRangeReserved 2\r
@@ -42,7 +42,7 @@ Revision History:
 \r
 #define EFI_MAX_MEMORY_DESCRIPTORS 64\r
 \r
-#define LOADED_IMAGE_SIGNATURE     EFI_SIGNATURE_32('l','d','r','i')\r
+#define LOADED_IMAGE_SIGNATURE     SIGNATURE_32('l','d','r','i')\r
 \r
 typedef struct {\r
   UINTN                       Signature;\r
@@ -80,36 +80,10 @@ typedef struct {
   BIOS_MEMORY_MAP_ENTRY MemoryMapEntry[1];\r
 } BIOS_MEMORY_MAP;\r
 \r
-EFI_STATUS\r
-EFIAPI\r
-UefiDecompressGetInfo (\r
-  IN      EFI_TIANO_DECOMPRESS_PROTOCOL *This,\r
-  IN      VOID                          *Source,\r
-  IN      UINT32                        SrcSize,\r
-  OUT     UINT32                        *DstSize,\r
-  OUT     UINT32                        *ScratchSize\r
-  );\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-TianoDecompress (\r
-  IN      EFI_TIANO_DECOMPRESS_PROTOCOL *This,\r
-  IN      VOID                          *Source,\r
-  IN      UINT32                        SrcSize,\r
-  IN OUT  VOID                          *Destination,\r
-  IN      UINT32                        DstSize,\r
-  IN OUT  VOID                          *Scratch,\r
-  IN      UINT32                        ScratchSize\r
-  );\r
-\r
-EFILDR_LOADED_IMAGE    DxeCoreImage;\r
-EFILDR_LOADED_IMAGE    DxeIplImage;\r
-\r
 typedef\r
 VOID\r
-(* EFI_MAIN_ENTRYPOINT) (\r
+(EFIAPI * EFI_MAIN_ENTRYPOINT) (\r
     IN EFILDRHANDOFF  *Handoff\r
-    )\r
-;\r
+    );\r
 \r
-#endif //_DUET_EFI_LOADER_H_
\ No newline at end of file
+#endif //_DUET_EFI_LOADER_H_\r