/** @file
This file declares Sec Platform Information PPI.
This service is the primary handoff state into the PEI Foundation.
The Security (SEC) component creates the early, transitory memory
environment and also encapsulates knowledge of at least the
location of the Boot Firmware Volume (BFV).
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@par Revision Reference:
This PPI is introduced in PI Version 1.0.
**/
#define EFI_SEC_PLATFORM_INFORMATION_GUID \
{ \
0x6f8c2b35, 0xfef4, 0x448d, {0x82, 0x56, 0xe1, 0x1b, 0x19, 0xd6, 0x10, 0x77 } \
}
///
/// EFI_HEALTH_FLAGS
/// processor PAL code about the state of the processor upon reset.
///
typedef union {
struct {
///
/// A 2-bit field indicating self-test state after reset.
///
///
/// A 1-bit field indicating whether testing has occurred.
/// If this field is zero, the processor has not been tested,
/// and no further fields in the self-test State parameter are valid.
///
///
/// Reserved 13 bits.
///
///
/// A 1-bit field. If set to 1, this indicates that virtual
/// memory features are not available.
///
///
/// A 1-bit field. If set to 1, this indicates that IA-32 execution
/// is not available.
///
///
/// A 1-bit field. If set to 1, this indicates that the floating
/// point unit is not available.
///
///
/// A 1-bit field. If set to 1, this indicates miscellaneous
/// functional failure other than vm, ia, or fp.
/// The test status field provides additional information on
/// test failures when the State field returns a value of
/// performance restricted or functionally restricted.
/// The value returned is implementation dependent.
///
///
/// Reserved 12 bits.
///
} Bits;
///
/// The hand-off status structure for Itanium architecture.
///
typedef struct {
///
/// SALE_ENTRY state : 3 = Recovery_Check
/// and 0 = RESET or Normal_Boot phase.
///
///
/// Firmware status on entry to SALE.
///
///
/// Geographically significant unique processor ID assigned by PAL.
///
///
/// Address to make PAL calls.
///
///
/// If the entry state is RECOVERY_CHECK, this contains the PAL_RESET
/// return address, and if entry state is RESET, this contains
/// address for PAL_authentication call.
///
///
/// GR35 from PALE_EXIT state.
///
///
/// GR37 from PALE_EXIT state.
///
///
/// EFI_SEC_PLATFORM_INFORMATION_RECORD.
///
typedef union {
/**
This interface conveys state information out of the Security (SEC) phase into PEI.
This service is published by the SEC phase. The SEC phase handoff has an optional
EFI_PEI_PPI_DESCRIPTOR list as its final argument when control is passed from SEC into the
PEI Foundation. As such, if the platform supports the built-in self test (BIST) on IA-32 Intel
architecture or the PAL-A handoff state for Itanium architecture, this information is encapsulated
into the data structure abstracted by this service. This information is collected for the boot-strap
processor (BSP) on IA-32. For Itanium architecture, it is available on all processors that execute
the PEI Foundation.
@param PeiServices The pointer to the PEI Services Table.
@param StructureSize The pointer to the variable describing size of the input buffer.
@param PlatformInformationRecord The pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD.
@retval EFI_SUCCESS The data was successfully returned.
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. The current buffer size needed to
hold the record is returned in StructureSize.
**/
typedef
);
///
/// This service abstracts platform-specific information. It is necessary
/// to convey this information to the PEI Foundation so that it can
/// discover where to begin dispatching PEIMs.
///
struct _EFI_SEC_PLATFORM_INFORMATION_PPI {
};
#endif