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