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
This commit is contained in:
dp-arm 2016-09-08 11:51:49 +01:00
parent 77b0532392
commit d2e201b429
1 changed files with 3 additions and 4 deletions

View File

@ -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