mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
ArmVirtPkg: Kvmtool: Update Power Mgmt Profile info in Cfg Manager
The PowerManagementProfileInfo Object has been moved from the Arm Namespace to the Arch Common namespace. Therefore, update the Kvmtool Guest firmware configuration manager to reflect this change. Cc: Pierre Gondois <Pierre.Gondois@arm.com> Cc: Yeo Reum Yun <YeoReum.Yun@arm.com> Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com> Cc: Jeshua Smith <jeshuas@nvidia.com> Cc: Jeff Brasen <jbrasen@nvidia.com> Cc: Girish Mahadevan <gmahadevan@nvidia.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
This commit is contained in:
parent
4362ddea7f
commit
1775c9d51c
@ -761,6 +761,16 @@ GetArchCommonNameSpaceObject (
|
||||
// First check among the static objects.
|
||||
//
|
||||
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
||||
case EArchCommonObjPowerManagementProfileInfo:
|
||||
Status = HandleCmObject (
|
||||
CmObjectId,
|
||||
&PlatformRepo->PmProfileInfo,
|
||||
sizeof (PlatformRepo->PmProfileInfo),
|
||||
1,
|
||||
CmObject
|
||||
);
|
||||
break;
|
||||
|
||||
default:
|
||||
//
|
||||
// No match found among the static objects.
|
||||
@ -828,16 +838,6 @@ GetArmNameSpaceObject (
|
||||
// First check among the static objects.
|
||||
//
|
||||
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
||||
case EArmObjPowerManagementProfileInfo:
|
||||
Status = HandleCmObject (
|
||||
CmObjectId,
|
||||
&PlatformRepo->PmProfileInfo,
|
||||
sizeof (PlatformRepo->PmProfileInfo),
|
||||
1,
|
||||
CmObject
|
||||
);
|
||||
break;
|
||||
|
||||
case EArmObjItsGroup:
|
||||
Status = HandleCmObject (
|
||||
CmObjectId,
|
||||
|
@ -73,53 +73,53 @@ typedef struct PlatformRepositoryInfo {
|
||||
///
|
||||
/// Configuration Manager Information.
|
||||
///
|
||||
CM_STD_OBJ_CONFIGURATION_MANAGER_INFO CmInfo;
|
||||
CM_STD_OBJ_CONFIGURATION_MANAGER_INFO CmInfo;
|
||||
|
||||
///
|
||||
/// List of ACPI tables
|
||||
///
|
||||
CM_STD_OBJ_ACPI_TABLE_INFO CmAcpiTableList[PLAT_ACPI_TABLE_COUNT];
|
||||
CM_STD_OBJ_ACPI_TABLE_INFO CmAcpiTableList[PLAT_ACPI_TABLE_COUNT];
|
||||
|
||||
///
|
||||
/// Power management profile information
|
||||
///
|
||||
CM_ARM_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;
|
||||
CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;
|
||||
|
||||
///
|
||||
/// ITS Group node
|
||||
///
|
||||
CM_ARM_ITS_GROUP_NODE ItsGroupInfo;
|
||||
CM_ARM_ITS_GROUP_NODE ItsGroupInfo;
|
||||
|
||||
///
|
||||
/// ITS Identifier array
|
||||
///
|
||||
CM_ARM_ITS_IDENTIFIER ItsIdentifierArray[1];
|
||||
CM_ARM_ITS_IDENTIFIER ItsIdentifierArray[1];
|
||||
|
||||
///
|
||||
/// PCI Root complex node
|
||||
///
|
||||
CM_ARM_ROOT_COMPLEX_NODE RootComplexInfo;
|
||||
CM_ARM_ROOT_COMPLEX_NODE RootComplexInfo;
|
||||
|
||||
///
|
||||
/// Array of DeviceID mapping
|
||||
///
|
||||
CM_ARM_ID_MAPPING DeviceIdMapping[1];
|
||||
CM_ARM_ID_MAPPING DeviceIdMapping[1];
|
||||
|
||||
///
|
||||
/// Dynamic platform repository.
|
||||
/// CmObj created by parsing the Kvmtool device tree are stored here.
|
||||
///
|
||||
DYNAMIC_PLATFORM_REPOSITORY_INFO *DynamicPlatformRepo;
|
||||
DYNAMIC_PLATFORM_REPOSITORY_INFO *DynamicPlatformRepo;
|
||||
|
||||
///
|
||||
/// Base address of the FDT.
|
||||
///
|
||||
VOID *FdtBase;
|
||||
VOID *FdtBase;
|
||||
|
||||
///
|
||||
/// A handle to the FDT HwInfoParser.
|
||||
///
|
||||
HW_INFO_PARSER_HANDLE FdtParserHandle;
|
||||
HW_INFO_PARSER_HANDLE FdtParserHandle;
|
||||
} EDKII_PLATFORM_REPOSITORY_INFO;
|
||||
|
||||
#endif // CONFIGURATION_MANAGER_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user