]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/EfiLdr/EfiLdr.h
Fix TCG PPI request EnableActivateClear failure.
[mirror_edk2.git] / DuetPkg / EfiLdr / EfiLdr.h
index 1417b761c6770988a3dc54e2fd20756f8985a2ab..665f4058550735edac0d93dbee18409a2be95006 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,16 +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
@@ -43,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
@@ -86,9 +85,8 @@ EFILDR_LOADED_IMAGE    DxeIplImage;
 \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