]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Include/Ppi/UnixThunk.h
Unix version of EFI emulator
[mirror_edk2.git] / EdkUnixPkg / Include / Ppi / UnixThunk.h
diff --git a/EdkUnixPkg/Include/Ppi/UnixThunk.h b/EdkUnixPkg/Include/Ppi/UnixThunk.h
new file mode 100644 (file)
index 0000000..866bd61
--- /dev/null
@@ -0,0 +1,56 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation                                                         \r
+All rights reserved. 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
+Module Name:\r
+\r
+  UnixThunk.h\r
+\r
+Abstract:\r
+\r
+  Unix Thunk interface PPI\r
+\r
+--*/\r
+\r
+#ifndef __UNIX_PEI_UNIX_THUNK_H__\r
+#define __UNIX_PEI_UNIX_THUNK_H__\r
+\r
+#include <UnixDxe.h>\r
+\r
+#define PEI_UNIX_THUNK_PPI_GUID \\r
+  { \\r
+    0xf2f830f2, 0x8985, 0x11db, {0x80, 0x6b, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } \
+  }\r
+\r
+typedef\r
+VOID *\r
+(EFIAPI *PEI_UNIX_THUNK_INTERFACE) (\r
+  VOID\r
+  );\r
+\r
+/*++\r
+\r
+Routine Description:\r
+  Export of EFI_UNIX_THUNK_PROTOCOL from the Unix SEC.\r
+\r
+Arguments:\r
+  InterfaceBase - Address of the EFI_UNIX_THUNK_PROTOCOL\r
+\r
+Returns:\r
+  EFI_SUCCESS - Data returned\r
+\r
+--*/\r
+typedef struct {\r
+  PEI_UNIX_THUNK_INTERFACE  UnixThunk;\r
+} PEI_UNIX_THUNK_PPI;\r
+\r
+extern EFI_GUID gPeiUnixThunkPpiGuid;\r
+\r
+#endif\r