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.
|
// First check among the static objects.
|
||||||
//
|
//
|
||||||
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
||||||
|
case EArchCommonObjPowerManagementProfileInfo:
|
||||||
|
Status = HandleCmObject (
|
||||||
|
CmObjectId,
|
||||||
|
&PlatformRepo->PmProfileInfo,
|
||||||
|
sizeof (PlatformRepo->PmProfileInfo),
|
||||||
|
1,
|
||||||
|
CmObject
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
//
|
//
|
||||||
// No match found among the static objects.
|
// No match found among the static objects.
|
||||||
@ -828,16 +838,6 @@ GetArmNameSpaceObject (
|
|||||||
// First check among the static objects.
|
// First check among the static objects.
|
||||||
//
|
//
|
||||||
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
switch (GET_CM_OBJECT_ID (CmObjectId)) {
|
||||||
case EArmObjPowerManagementProfileInfo:
|
|
||||||
Status = HandleCmObject (
|
|
||||||
CmObjectId,
|
|
||||||
&PlatformRepo->PmProfileInfo,
|
|
||||||
sizeof (PlatformRepo->PmProfileInfo),
|
|
||||||
1,
|
|
||||||
CmObject
|
|
||||||
);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case EArmObjItsGroup:
|
case EArmObjItsGroup:
|
||||||
Status = HandleCmObject (
|
Status = HandleCmObject (
|
||||||
CmObjectId,
|
CmObjectId,
|
||||||
|
@ -83,7 +83,7 @@ typedef struct PlatformRepositoryInfo {
|
|||||||
///
|
///
|
||||||
/// Power management profile information
|
/// Power management profile information
|
||||||
///
|
///
|
||||||
CM_ARM_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;
|
CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// ITS Group node
|
/// ITS Group node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user