diff options
author | Soby Mathew <soby.mathew@arm.com> | 2016-06-01 14:49:04 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2016-07-14 15:06:01 +0100 |
commit | 4bd4ae519b02a9afd236f4c78d4654bdc0e942c2 (patch) | |
tree | f7a2d39e1fcb02418789b9459b90f0935293ddf9 /include | |
parent | 87efb3474ac4f168c364d76db26909a1ee1a5207 (diff) |
Add PSCI STAT helper APIs
This patch adds PSCI_STAT_COUNT and PSCI_STAT_RESIDENCY helper
functions to the TFTF framework.
Change-Id: I624b25c8ccbb540f69392900890940fc16197001
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/tftf_lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/lib/tftf_lib.h b/include/lib/tftf_lib.h index 7e5ede5..22f0d4e 100644 --- a/include/lib/tftf_lib.h +++ b/include/lib/tftf_lib.h @@ -75,6 +75,10 @@ int32_t tftf_psci_cpu_off(void); int32_t tftf_psci_affinity_info(uint64_t target_affinity, uint32_t lowest_affinity_level); int32_t tftf_get_psci_feature_info(uint32_t psci_func_id); +u_register_t tftf_psci_stat_count(u_register_t target_cpu, + uint32_t power_state); +u_register_t tftf_psci_stat_residency(u_register_t target_cpu, + uint32_t power_state); /* * PSCI Helper functions |