mirror of https://github.com/acidanthera/audk.git
MdePkg: Define PI Specification Version Macro
Defined PI specification version. Used them to define revisions of PEI/DXE/MM system tables. Cc: Felix Polyudov <felixp@ami.com> Cc: Dhanaraj V <vdhanaraj@ami.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
This commit is contained in:
parent
b3efbda166
commit
c80f456ef4
|
@ -5,7 +5,7 @@ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
@par Revision Reference:
|
@par Revision Reference:
|
||||||
PI Version 1.7
|
PI Version 1.8.A
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -691,8 +691,8 @@ EFI_STATUS
|
||||||
// DXE Services Table
|
// DXE Services Table
|
||||||
//
|
//
|
||||||
#define DXE_SERVICES_SIGNATURE 0x565245535f455844ULL
|
#define DXE_SERVICES_SIGNATURE 0x565245535f455844ULL
|
||||||
#define DXE_SPECIFICATION_MAJOR_REVISION 1
|
#define DXE_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION
|
||||||
#define DXE_SPECIFICATION_MINOR_REVISION 70
|
#define DXE_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION
|
||||||
#define DXE_SERVICES_REVISION ((DXE_SPECIFICATION_MAJOR_REVISION<<16) | (DXE_SPECIFICATION_MINOR_REVISION))
|
#define DXE_SERVICES_REVISION ((DXE_SPECIFICATION_MAJOR_REVISION<<16) | (DXE_SPECIFICATION_MINOR_REVISION))
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -18,12 +18,9 @@ typedef struct _EFI_MM_SYSTEM_TABLE EFI_MM_SYSTEM_TABLE;
|
||||||
///
|
///
|
||||||
/// The Management Mode System Table (MMST) signature
|
/// The Management Mode System Table (MMST) signature
|
||||||
///
|
///
|
||||||
#define MM_MMST_SIGNATURE SIGNATURE_32 ('S', 'M', 'S', 'T')
|
#define MM_MMST_SIGNATURE SIGNATURE_32 ('S', 'M', 'S', 'T')
|
||||||
///
|
#define MM_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION
|
||||||
/// The Management Mode System Table (MMST) revision is 1.6
|
#define MM_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION
|
||||||
///
|
|
||||||
#define MM_SPECIFICATION_MAJOR_REVISION 1
|
|
||||||
#define MM_SPECIFICATION_MINOR_REVISION 60
|
|
||||||
#define EFI_MM_SYSTEM_TABLE_REVISION ((MM_SPECIFICATION_MAJOR_REVISION<<16) | (MM_SPECIFICATION_MINOR_REVISION))
|
#define EFI_MM_SYSTEM_TABLE_REVISION ((MM_SPECIFICATION_MAJOR_REVISION<<16) | (MM_SPECIFICATION_MINOR_REVISION))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -5,7 +5,7 @@ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
@par Revision Reference:
|
@par Revision Reference:
|
||||||
These elements are defined in UEFI Platform Initialization Specification 1.2.
|
These elements are defined in UEFI Platform Initialization Specification 1.8.A
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -20,6 +20,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#include <Pi/PiStatusCode.h>
|
#include <Pi/PiStatusCode.h>
|
||||||
#include <Pi/PiS3BootScript.h>
|
#include <Pi/PiS3BootScript.h>
|
||||||
|
|
||||||
|
//
|
||||||
|
// PI Specification Version Information
|
||||||
|
//
|
||||||
|
#define PI_SPECIFICATION_MAJOR_REVISION 1
|
||||||
|
#define PI_SPECIFICATION_MINOR_REVISION 80
|
||||||
|
#define PI_SPECIFICATION_VERSION ((PI_SPECIFICATION_MAJOR_REVISION << 16) | (PI_SPECIFICATION_MINOR_REVISION))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Produces an error code in the range reserved for use by the Platform Initialization
|
Produces an error code in the range reserved for use by the Platform Initialization
|
||||||
Architecture Specification.
|
Architecture Specification.
|
||||||
|
|
|
@ -5,7 +5,7 @@ Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
@par Revision Reference:
|
@par Revision Reference:
|
||||||
PI Version 1.7.
|
PI Version 1.8.A
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -846,8 +846,8 @@ EFI_STATUS
|
||||||
//
|
//
|
||||||
// PEI Specification Revision information
|
// PEI Specification Revision information
|
||||||
//
|
//
|
||||||
#define PEI_SPECIFICATION_MAJOR_REVISION 1
|
#define PEI_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION
|
||||||
#define PEI_SPECIFICATION_MINOR_REVISION 70
|
#define PEI_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION
|
||||||
///
|
///
|
||||||
/// Specification inconsistency here:
|
/// Specification inconsistency here:
|
||||||
/// In the PI1.0 spec, PEI_SERVICES_SIGNATURE is defined as 0x5652455320494550. But
|
/// In the PI1.0 spec, PEI_SERVICES_SIGNATURE is defined as 0x5652455320494550. But
|
||||||
|
|
Loading…
Reference in New Issue