1 /**@file
2 
3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 Module Name:
13 
14   NtThunk.h
15 
16 Abstract:
17 
18   WinNt Thunk interface PPI
19 
20 **/
21 
22 #ifndef __NT_PEI_WIN_NT_THUNK_H__
23 #define __NT_PEI_WIN_NT_THUNK_H__
24 
25 #include <WinNtDxe.h>
26 
27 #define PEI_NT_THUNK_PPI_GUID \
28   { \
29     0x98c281e5, 0xf906, 0x43dd, {0xa9, 0x2b, 0xb0, 0x3, 0xbf, 0x27, 0x65, 0xda } \
30   }
31 
32 typedef
33 VOID *
34 (EFIAPI *PEI_NT_THUNK_INTERFACE) (
35   VOID
36   );
37 
38 /*++
39 
40 Routine Description:
41   Export of EFI_WIN_NT_THUNK_PROTOCOL from the Windows SEC.
42 
43 Arguments:
44   InterfaceBase - Address of the EFI_WIN_NT_THUNK_PROTOCOL
45 
46 Returns:
47   EFI_SUCCESS - Data returned
48 
49 --*/
50 typedef struct {
51   PEI_NT_THUNK_INTERFACE  NtThunk;
52 } PEI_NT_THUNK_PPI;
53 
54 extern EFI_GUID gPeiNtThunkPpiGuid;
55 
56 #endif
57