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