DynamicTablesPkg: Allow for specified CPU names

Allow object to specify the name of processor and processor container
nodes and the UID of processor containers.

This allows these to be more accurately referenced from other tables.
For example for the _PSL method or the UID in the APMT table.

The UID and Name for processor container may be different as if the
intention is to set names as the corresponding affinity level the UID
may need to be different if there are multiple levels of containers.

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Jeff Brasen
2022-11-07 08:57:11 -07:00
committed by mergify[bot]
parent 05da2d24b0
commit 5fb3f5723a
3 changed files with 43 additions and 11 deletions

View File

@ -305,6 +305,9 @@ STATIC CONST CM_OBJ_PARSER CmArmProcHierarchyInfoParser[] = {
{ "NoOfPrivateResources", 4, "0x%x", NULL },
{ "PrivateResourcesArrayToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
{ "LpiToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
{ "OverrideNameUidEnabled", 1, "%d", NULL },
{ "OverrideName", 2, "0x%x", NULL },
{ "OverrideUid", 4, "0x%x", NULL }
};
/** A parser for EArmObjCacheInfo.