]> git.proxmox.com Git - mirror_edk2.git/blame - Nt32Pkg/Include/Ppi/NtFwh.h
Nt32Pkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Nt32Pkg / Include / Ppi / NtFwh.h
CommitLineData
6ae81428 1/**@file\r
45a20a7f 2\r
8f2a5f80 3Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
9d2eedba 4SPDX-License-Identifier: BSD-2-Clause-Patent\r
45a20a7f 5\r
6Module Name:\r
7\r
8 NtFwh.h\r
9\r
10Abstract:\r
11\r
12 WinNt FWH PPI as defined in Tiano\r
13\r
6ae81428 14**/\r
45a20a7f 15\r
16#ifndef __NT_PEI_FWH_H__\r
17#define __NT_PEI_FWH_H__\r
18\r
19#include <WinNtDxe.h>\r
20\r
21#define NT_FWH_PPI_GUID \\r
22 { \\r
23 0x4e76928f, 0x50ad, 0x4334, {0xb0, 0x6b, 0xa8, 0x42, 0x13, 0x10, 0x8a, 0x57 } \\r
24 }\r
25\r
26typedef\r
27EFI_STATUS\r
28(EFIAPI *NT_FWH_INFORMATION) (\r
29 IN UINTN Index,\r
30 IN OUT EFI_PHYSICAL_ADDRESS * FdBase,\r
31 IN OUT UINT64 *FdSize\r
32 );\r
33\r
34/*++\r
35\r
36Routine Description:\r
37 Return the FD Size and base address. Since the FD is loaded from a \r
38 file into Windows memory only the SEC will know it's address.\r
39\r
40Arguments:\r
41 Index - Which FD, starts at zero.\r
42 FdSize - Size of the FD in bytes\r
43 FdBase - Start address of the FD. Assume it points to an FV Header\r
44\r
45Returns:\r
46 EFI_SUCCESS - Return the Base address and size of the FV\r
47 EFI_UNSUPPORTED - Index does nto map to an FD in the system\r
48\r
49--*/\r
50typedef struct {\r
51 NT_FWH_INFORMATION NtFwh;\r
52} NT_FWH_PPI;\r
53\r
54extern EFI_GUID gNtFwhPpiGuid;\r
55\r
56#endif\r