forked from tianocore/edk2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DynamicTablesPkg: Arm SRAT Table Generator
The SRAT generator uses the configuration manager protocol to obtain the affinity information for the GICC, GIC ITS, Memory, Generic Initiator, etc. and generates the SRAT table. The table generator supports ACPI 6.3, SRAT table revision 3. The ACPI and PCI device handles of the Generic Initiator Affinity structures are represented using tokens. The generator invokes the configuration manager protocol interfaces and requests for objects referenced by tokens to get the device handle information. The Configuration Manager object definition for the GICC has been updated to include the Proximity Domain, Clock Domain and associated flag information. Similarly the Configuration Manager object for the GIC ITS has been updated to include the Proximity Domain information. These changes should not impact any existing implementations as the new fields have been added towards the end of the Configuration Manager Objects. Signed-off-by: Sami Mujawar <[email protected]> Reviewed-by: Alexei Fedorov <[email protected]>
- Loading branch information
1 parent
91f98c9
commit f413d9b
Showing
5 changed files
with
994 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/AcpiSratLibArm.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## @file | ||
# SRAT Table Generator | ||
# | ||
# Copyright (c) 2019, ARM Limited. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: BSD-2-Clause-Patent | ||
## | ||
|
||
[Defines] | ||
INF_VERSION = 0x0001001B | ||
BASE_NAME = AcpiSratLibArm | ||
FILE_GUID = 2CE21E0A-A39C-4B26-BC0E-526178036ACD | ||
VERSION_STRING = 1.0 | ||
MODULE_TYPE = DXE_DRIVER | ||
LIBRARY_CLASS = NULL|DXE_DRIVER | ||
CONSTRUCTOR = AcpiSratLibConstructor | ||
DESTRUCTOR = AcpiSratLibDestructor | ||
|
||
[Sources] | ||
SratGenerator.c | ||
|
||
[Packages] | ||
EmbeddedPkg/EmbeddedPkg.dec | ||
DynamicTablesPkg/DynamicTablesPkg.dec | ||
MdeModulePkg/MdeModulePkg.dec | ||
MdePkg/MdePkg.dec | ||
|
||
[LibraryClasses] | ||
BaseLib |
Oops, something went wrong.