summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c')
-rw-r--r--ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c b/ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c
index 4a76583f96..7240544406 100644
--- a/ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c
+++ b/ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c
@@ -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,