]>
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 | NtFwh.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | WinNt FWH PPI as defined in Tiano\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _NT_PEI_FWH_H_\r | |
23 | #define _NT_PEI_FWH_H_\r | |
24 | \r | |
25 | #include "Tiano.h"\r | |
26 | #include "PeiHob.h"\r | |
27 | \r | |
28 | #define NT_FWH_PPI_GUID \\r | |
29 | { \\r | |
aeef1b2b | 30 | 0x4e76928f, 0x50ad, 0x4334, {0xb0, 0x6b, 0xa8, 0x42, 0x13, 0x10, 0x8a, 0x57} \\r |
95d675b5 | 31 | }\r |
32 | \r | |
33 | typedef\r | |
34 | EFI_STATUS\r | |
35 | (EFIAPI *NT_FWH_INFORMATION) (\r | |
36 | IN UINTN Index,\r | |
37 | IN OUT EFI_PHYSICAL_ADDRESS * FdBase,\r | |
38 | IN OUT UINT64 *FdSize\r | |
39 | );\r | |
40 | \r | |
41 | /*++\r | |
42 | \r | |
43 | Routine Description:\r | |
44 | Return the FD Size and base address. Since the FD is loaded from a \r | |
45 | file into Windows memory only the SEC will know it's address.\r | |
46 | \r | |
47 | Arguments:\r | |
48 | Index - Which FD, starts at zero.\r | |
49 | FdSize - Size of the FD in bytes\r | |
50 | FdBase - Start address of the FD. Assume it points to an FV Header\r | |
51 | \r | |
52 | Returns:\r | |
53 | EFI_SUCCESS - Return the Base address and size of the FV\r | |
54 | EFI_UNSUPPORTED - Index does nto map to an FD in the system\r | |
55 | \r | |
56 | --*/\r | |
57 | typedef struct {\r | |
58 | NT_FWH_INFORMATION NtFwh;\r | |
59 | } NT_FWH_PPI;\r | |
60 | \r | |
61 | extern EFI_GUID gNtFwhPpiGuid;\r | |
62 | \r | |
63 | #endif\r |