aboutsummaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-01-06 14:42:30 -0600
committerMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-01-08 18:00:34 -0600
commitdaa9b6ea641c841478b861b0fb459bc066233358 (patch)
tree36e2eca0a12ba5cb1f10fd6d6d5b0a2ee7718ec6 /plat/common
parent7a05f06a84f75ee36b6fb2f1c72591eeb5c9de69 (diff)
downloadtrusted-firmware-a-daa9b6ea641c841478b861b0fb459bc066233358.tar.gz
Simplify PMF helper macro definitions across header files
In further patches, we aim to enable -Wredundant-decls by default. This rearragement of helper macros is necessary to make Coverity tool happy as well as making sure there are no redundant function declarations for PMF related declarations. Also, PMF related macros were added to provide appropriate function declarations for helper APIs which capture PSCI statistics. Change-Id: I36273032dde8fa079ef71235ed3a4629c5bfd981 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/plat_psci_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/common/plat_psci_common.c b/plat/common/plat_psci_common.c
index 16bec7972a..a756d5e403 100644
--- a/plat/common/plat_psci_common.c
+++ b/plat/common/plat_psci_common.c
@@ -31,6 +31,8 @@
#define PSCI_STAT_ID_EXIT_LOW_PWR 1
#define PSCI_STAT_TOTAL_IDS 2
+PMF_DECLARE_CAPTURE_TIMESTAMP(psci_svc)
+PMF_DECLARE_GET_TIMESTAMP(psci_svc)
PMF_REGISTER_SERVICE(psci_svc, PMF_PSCI_STAT_SVC_ID, PSCI_STAT_TOTAL_IDS,
PMF_STORE_ENABLE)