]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/NtThunk/NtThunk.h
GCC Cleanup: GUID initializer.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Nt32 / Ppi / NtThunk / NtThunk.h
CommitLineData
95d675b5 1/*++\r
2\r
aeef1b2b 3Copyright (c) 2004 - 2008, Intel Corporation \r
95d675b5 4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 NtThunk.h\r
15\r
16Abstract:\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
33typedef\r
34EFI_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
42Routine Description:\r
43 Export of EFI_WIN_NT_THUNK_PROTOCOL from the Windows SEC.\r
44\r
45Arguments:\r
46 InterfaceSize - sizeof (EFI_WIN_NT_THUNK_PROTOCOL);\r
47 InterfaceBase - Address of the EFI_WIN_NT_THUNK_PROTOCOL\r
48\r
49Returns:\r
50 EFI_SUCCESS - Data returned\r
51\r
52--*/\r
53typedef struct {\r
54 PEI_NT_THUNK_INTERFACE NtThunk;\r
55} PEI_NT_THUNK_PPI;\r
56\r
57extern EFI_GUID gPeiNtThunkPpiGuid;\r
58\r
59#endif\r