mirror of https://github.com/acidanthera/audk.git
DynamicTablesPkg: Remove GIC Distributor Id field
According to ACPI 6.2 Specification - Errata A, 'One, and only one, GIC distributor structure must be present in the MADT for an ARM based system'. Therefore, the GIC Distributor ID field in the ACPI MADT GICD substructure can be set to zero and there is no need for the Configuration Manager to provide this information. Update the CM_ARM_GICD_INFO structure to remove the GicId field. Similarly update the MADT Generator to set the GicId field in the GICD substructure to zero. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <alexei.fedorov@arm.com>
This commit is contained in:
parent
6814256083
commit
d3a15f435f
|
@ -1,6 +1,6 @@
|
|||
/** @file
|
||||
|
||||
Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
|
||||
Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -166,9 +166,6 @@ typedef struct CmArmGicCInfo {
|
|||
GIC Distributor information for the Platform.
|
||||
*/
|
||||
typedef struct CmArmGicDInfo {
|
||||
/// The GIC Distributor ID.
|
||||
UINT32 GicId;
|
||||
|
||||
/// The Physical Base address for the GIC Distributor.
|
||||
UINT64 PhysicalBaseAddress;
|
||||
|
||||
|
|
|
@ -192,7 +192,9 @@ AddGICD (
|
|||
// UINT16 Reserved
|
||||
Gicd->Reserved1 = EFI_ACPI_RESERVED_WORD;
|
||||
// UINT32 Identifier
|
||||
Gicd->GicId = GicDInfo->GicId;
|
||||
// One, and only one, GIC distributor structure must be present
|
||||
// in the MADT for an ARM based system
|
||||
Gicd->GicId = 0;
|
||||
// UINT64 PhysicalBaseAddress
|
||||
Gicd->PhysicalBaseAddress = GicDInfo->PhysicalBaseAddress;
|
||||
// UINT32 VectorBase
|
||||
|
|
Loading…
Reference in New Issue