-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IntelFsp2Pkg : Add FSP-I arch config PPI
Add FSP-I arch config PPI header file and GUID for supporting FSP-I to get Bootloader MM FV address and length, Bootloader MM FV context Data address and length under dispatch mode Signed-off-by: Hongbin1 Zhang <[email protected]> Cc: Chasel Chiu <[email protected]> Cc: Ray Ni <[email protected]> Cc: Star Zeng <[email protected]> Cc: Jiaxin Wu <[email protected]> Cc: Duggapu Chinni B <[email protected]> Cc: Ted Kuo <[email protected]> Cc: Ashraf Ali S <[email protected]> Cc: Nate DeSimone <[email protected]>
- Loading branch information
1 parent
4af5849
commit b18e7a8
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/** @file | ||
Header file for FSP-I Arch Config PPI for Dispatch mode | ||
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> | ||
SPDX-License-Identifier: BSD-2-Clause-Patent | ||
**/ | ||
|
||
#ifndef _FSPI_ARCH_CONFIG_PPI_H_ | ||
#define _FSPI_ARCH_CONFIG_PPI_H_ | ||
|
||
#define FSPI_ARCH_CONFIG_PPI_REVISION 0x1 | ||
|
||
/// | ||
/// Global ID for the FSPI_ARCH_CONFIG_PPI. | ||
/// | ||
#define FSPI_ARCH_CONFIG_GUID \ | ||
{ \ | ||
0x15735ef9, 0x84ac, 0x4e34, { 0x98, 0x86, 0x56, 0xee, 0xcf, 0x73, 0xec, 0x0f } \ | ||
} | ||
|
||
/// | ||
/// This PPI provides FSP-I Arch Config PPI. | ||
/// | ||
typedef struct { | ||
/// | ||
/// Revision of the structure is 1 for this version of the specification. | ||
/// | ||
UINT8 Revision; | ||
UINT8 Reserved[3]; | ||
/// | ||
/// Pointer to the bootloader SMM firmware volume (FV). | ||
/// | ||
VOID *BootloaderSmmFvBaseAddress; | ||
/// | ||
/// The length in bytes of the bootloader SMM firmware volume (FV). | ||
/// | ||
UINTN BootloaderSmmFvLength; | ||
/// | ||
/// Pointer to the bootloader SMM FV context data. | ||
/// This data is provided to bootloader SMM drivers through a HOB by the FSP MM Foundation. | ||
/// | ||
VOID *BootloaderSmmFvContextData; | ||
/// | ||
/// The length in bytes of the bootloader SMM FV context data. | ||
/// This data is provided to bootloader SMM drivers through a HOB by the FSP MM Foundation. | ||
/// | ||
UINT16 BootloaderSmmFvContextDataLength; | ||
} FSPI_ARCH_CONFIG_PPI; | ||
|
||
extern EFI_GUID gFspiArchConfigPpiGuid; | ||
|
||
#endif // _FSPI_ARCH_CONFIG_PPI_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters