1 /*++ 2 3 Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 NtFwh.h 15 16 Abstract: 17 18 WinNt FWH PPI as defined in Tiano 19 20 --*/ 21 22 #ifndef _NT_PEI_FWH_H_ 23 #define _NT_PEI_FWH_H_ 24 25 #include "Tiano.h" 26 #include "PeiHob.h" 27 28 #define NT_FWH_PPI_GUID \ 29 { \ 30 0x4e76928f, 0x50ad, 0x4334, {0xb0, 0x6b, 0xa8, 0x42, 0x13, 0x10, 0x8a, 0x57} \ 31 } 32 33 typedef 34 EFI_STATUS 35 (EFIAPI *NT_FWH_INFORMATION) ( 36 IN UINTN Index, 37 IN OUT EFI_PHYSICAL_ADDRESS * FdBase, 38 IN OUT UINT64 *FdSize 39 ); 40 41 /*++ 42 43 Routine Description: 44 Return the FD Size and base address. Since the FD is loaded from a 45 file into Windows memory only the SEC will know it's address. 46 47 Arguments: 48 Index - Which FD, starts at zero. 49 FdSize - Size of the FD in bytes 50 FdBase - Start address of the FD. Assume it points to an FV Header 51 52 Returns: 53 EFI_SUCCESS - Return the Base address and size of the FV 54 EFI_UNSUPPORTED - Index does nto map to an FD in the system 55 56 --*/ 57 typedef struct { 58 NT_FWH_INFORMATION NtFwh; 59 } NT_FWH_PPI; 60 61 extern EFI_GUID gNtFwhPpiGuid; 62 63 #endif 64