]>
Commit | Line | Data |
---|---|---|
804405e7 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
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 | UnixFwh.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Unix FWH PPI as defined in Tiano\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef __UNIX_PEI_FWH_H__\r | |
23 | #define __UNIX_PEI_FWH_H__\r | |
24 | \r | |
25 | #include <UnixDxe.h>\r | |
26 | \r | |
27 | #define UNIX_FWH_PPI_GUID \\r | |
28 | { \\r | |
29 | 0xf2f0dc30, 0x8985, 0x11db, {0xa1, 0x5b, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } \ | |
30 | }\r | |
31 | \r | |
32 | typedef\r | |
33 | EFI_STATUS\r | |
34 | (EFIAPI *UNIX_FWH_INFORMATION) (\r | |
35 | IN UINTN Index,\r | |
36 | IN OUT EFI_PHYSICAL_ADDRESS *FdBase,\r | |
37 | IN OUT UINT64 *FdSize\r | |
38 | );\r | |
39 | \r | |
40 | /*++\r | |
41 | \r | |
42 | Routine Description:\r | |
43 | Return the FD Size and base address. Since the FD is loaded from a \r | |
44 | file into host memory only the SEC will know it's address.\r | |
45 | \r | |
46 | Arguments:\r | |
47 | Index - Which FD, starts at zero.\r | |
48 | FdSize - Size of the FD in bytes\r | |
49 | FdBase - Start address of the FD. Assume it points to an FV Header\r | |
50 | \r | |
51 | Returns:\r | |
52 | EFI_SUCCESS - Return the Base address and size of the FV\r | |
53 | EFI_UNSUPPORTED - Index does nto map to an FD in the system\r | |
54 | \r | |
55 | --*/\r | |
56 | typedef struct {\r | |
57 | UNIX_FWH_INFORMATION UnixFwh;\r | |
58 | } UNIX_FWH_PPI;\r | |
59 | \r | |
60 | extern EFI_GUID gUnixFwhPpiGuid;\r | |
61 | \r | |
62 | #endif\r |