audk/DynamicTablesPkg/Include
Sami Mujawar 0d23c447d6 DynamicTablesPkg: Add support to specify FADT minor revision
The CM_STD_OBJ_ACPI_TABLE_INFO.AcpiTableRevision can be used to specify
the major revision number of the ACPI table that the generator must use.
Although most ACPI tables only have a major revision number, the FADT
table additionally has a minor revision number.

The FADT generator currently defaults to setting the latest supported
ACPI revision for the FADT table i.e. ACPI 6.4. This means that the minor
revision for the FADT table is always set to 4 and there is no provision
for a user to specify the minor revision to be selected.

Therefore, update CM_STD_OBJ_ACPI_TABLE_INFO to introduce a new field
MinorRevision which can be used to specify the minor revision for an
ACPI table. Also update the FADT generator to validate the supported
FADT revisions ans use the specified minor revision for the FADT table
if supported. If an unsupported minor revision is specified the FADT
generator defaults to the latest supported minor revision.

Since the CM_STD_OBJ_ACPI_TABLE_INFO.MinorRevision field is added to
the end of the structure, it should not break existing platform code.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: <pierre.gondois@arm.com>
Tested-by: Jagadeesh Ujja <Jagadeesh.Ujja@arm.com>
2022-07-15 18:07:49 +00:00
..
Library DynamicTablesPkg: Add AmlCodeGenMethodRetInteger function 2022-02-02 18:38:55 +00:00
Protocol DynamicTablesPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
AcpiTableGenerator.h DynamicTablesPkg: SSDT Pci express generator 2021-12-13 12:48:42 +00:00
ArmNameSpaceObjects.h DynamicTablesPkg: Add Pci related objects 2021-12-13 12:48:42 +00:00
ConfigurationManagerHelper.h DynamicTablesPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:57 -07:00
ConfigurationManagerObject.h DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID 2022-02-01 17:39:34 +00:00
DeviceTreeTableGenerator.h DynamicTablesPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SmbiosTableGenerator.h DynamicTablesPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
StandardNameSpaceObjects.h DynamicTablesPkg: Add support to specify FADT minor revision 2022-07-15 18:07:49 +00:00
TableGenerator.h DynamicTablesPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00