12#ifndef __PI_MULTIPHASE_H__
13#define __PI_MULTIPHASE_H__
29#define PI_SPECIFICATION_MAJOR_REVISION 1
30#define PI_SPECIFICATION_MINOR_REVISION 80
31#define PI_SPECIFICATION_VERSION ((PI_SPECIFICATION_MAJOR_REVISION << 16) | (PI_SPECIFICATION_MINOR_REVISION))
46#define DXE_ERROR(StatusCode) (MAX_BIT | (MAX_BIT >> 2) | StatusCode)
51#define EFI_REQUEST_UNLOAD_IMAGE DXE_ERROR (1)
57#define EFI_NOT_AVAILABLE_YET DXE_ERROR (2)
64#define PI_ENCODE_WARNING(a) ((MAX_BIT >> 2) | (a))
71#define PI_ENCODE_ERROR(a) (MAX_BIT | (MAX_BIT >> 2) | (a))
76#define EFI_INTERRUPT_PENDING PI_ENCODE_ERROR (0)
78#define EFI_WARN_INTERRUPT_SOURCE_PENDING PI_ENCODE_WARNING (0)
79#define EFI_WARN_INTERRUPT_SOURCE_QUIESCED PI_ENCODE_WARNING (1)
94#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE 0x01
95#define EFI_AUTH_STATUS_IMAGE_SIGNED 0x02
96#define EFI_AUTH_STATUS_NOT_TESTED 0x04
97#define EFI_AUTH_STATUS_TEST_FAILED 0x08
98#define EFI_AUTH_STATUS_ALL 0x0f
104#define EFI_MMRAM_OPEN 0x00000001
105#define EFI_MMRAM_CLOSED 0x00000002
106#define EFI_MMRAM_LOCKED 0x00000004
107#define EFI_CACHEABLE 0x00000008
108#define EFI_ALLOCATED 0x00000010
109#define EFI_NEEDS_TESTING 0x00000020
110#define EFI_NEEDS_ECC_INITIALIZATION 0x00000040
112#define EFI_SMRAM_OPEN EFI_MMRAM_OPEN
113#define EFI_SMRAM_CLOSED EFI_MMRAM_CLOSED
114#define EFI_SMRAM_LOCKED EFI_MMRAM_LOCKED
119#define COMMUNICATE_HEADER_V3_GUID \
121 0x68e8c853, 0x2ba9, 0x4dd7, { 0x9a, 0xc0, 0x91, 0xe1, 0x61, 0x55, 0xc9, 0x35 } \
208 "sizeof (EFI_MM_COMMUNICATE_HEADER_V3) does not align with the beginning of flexible array MessageData"
267 IN VOID *ProcedureArgument
char CHAR8
1-byte Character
UINT64 UINTN
Unsigned value of native width.
unsigned long long UINT64
8-byte unsigned value.
unsigned char UINT8
1-byte unsigned value.
#define VOID
Undeclared type.
#define OFFSET_OF(TYPE, Field)
The macro that returns the byte offset of a field in a data structure.
Present the boot mode values in PI.
Present the dependency expression values in PI.
The firmware file related definitions in PI.
The firmware volume related definitions in PI.
HOB related definitions in PI.
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)
The function prototype for invoking a function on an Application Processor.
EFI_GUID gEfiMmCommunicateHeaderV3Guid
EFI_MMRAM_DESCRIPTOR EFI_SMRAM_DESCRIPTOR
EFI_STATUS(EFIAPI * EFI_AP_PROCEDURE2)(IN VOID *ProcedureArgument)
The function prototype for invoking a function on an Application Processor.
struct _EFI_MM_RESERVED_MMRAM_REGION EFI_MM_RESERVED_MMRAM_REGION
Structure describing a MMRAM region which cannot be used for the MMRAM heap.
STATIC_ASSERT((sizeof(EFI_MM_COMMUNICATE_HEADER_V3)==OFFSET_OF(EFI_MM_COMMUNICATE_HEADER_V3, MessageData)), "sizeof (EFI_MM_COMMUNICATE_HEADER_V3) does not align with the beginning of flexible array MessageData")
This file contains the boot script definitions that are shared between the Boot Script Executor PPI a...
StatusCode related definitions in PI.
UINT64 EFI_PHYSICAL_ADDRESS
64-bit physical memory address.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
SEGOFF16_t Buffer
Buffer address.
Structure describing a MMRAM region and its accessibility attributes.
EFI_PHYSICAL_ADDRESS CpuStart
Designates the address of the MMRAM, as seen by software executing on the processors.
UINT64 PhysicalSize
Describes the number of bytes in the MMRAM region.
UINT64 RegionState
Describes the accessibility attributes of the MMRAM.
EFI_PHYSICAL_ADDRESS PhysicalStart
Designates the physical address of the MMRAM in memory.
EFI_PCD_TYPE PcdType
The returned information associated with the requested TokenNumber.
UINTN PcdSize
The size of the data in bytes associated with the TokenNumber specified.
CHAR8 * PcdName
The null-terminated ASCII string associated with a given token.
Structure describing a MMRAM region which cannot be used for the MMRAM heap.
EFI_PHYSICAL_ADDRESS MmramReservedStart
Starting address of the reserved MMRAM area, as it appears while MMRAM is open.
UINT64 MmramReservedSize
Number of bytes occupied by the reserved MMRAM area.