summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordp-arm <dimitris.papastamos@arm.com>2016-09-08 11:51:49 +0100
committerdp-arm <dimitris.papastamos@arm.com>2016-09-14 11:41:06 +0100
commitd2e201b4297d71d8c1e9085487eb9e1a4ae90bdd (patch)
treef2d2d76f19adaa71dc0b6754efe6945c4ca11592 /include
parent77b05323921c23e4261ddd8fee5c326a79b0af97 (diff)
Rename `pmf_calc_timestamp_offset` to `pmf_calc_timestamp_addr`
The macro calculates an absolute address rather than an offset so rename it to avoid confusion. Change-Id: I351f73dfd809fd28c0c30d38928caf5c5cd1af04
Diffstat (limited to 'include')
-rw-r--r--include/lib/pmf/pmf_asm_macros.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/lib/pmf/pmf_asm_macros.S b/include/lib/pmf/pmf_asm_macros.S
index 42dcd794..be7338b0 100644
--- a/include/lib/pmf/pmf_asm_macros.S
+++ b/include/lib/pmf/pmf_asm_macros.S
@@ -34,12 +34,11 @@
#define PMF_TS_SIZE 8
/*
- * This macro calculates the offset into the memory
- * region where the per-cpu timestamp value is stored
- * for the given service name and timestamp id.
+ * This macro calculates the address of the per-cpu timestamp
+ * for the given service name and local timestamp id.
* Clobbers: x0 - x9
*/
- .macro pmf_calc_timestamp_offset _name _tid
+ .macro pmf_calc_timestamp_addr _name _tid
mov x9, x30
bl plat_my_core_pos
mov x30, x9