Merge pull request #705 from dp-arm/dp/pmf-macro-rename

Rename `pmf_calc_timestamp_offset` to `pmf_calc_timestamp_addr`
This commit is contained in:
danh-arm 2016-09-19 11:56:39 +01:00 committed by GitHub
commit 0980b8ae8f

View file

@ -34,12 +34,11 @@
#define PMF_TS_SIZE 8 #define PMF_TS_SIZE 8
/* /*
* This macro calculates the offset into the memory * This macro calculates the address of the per-cpu timestamp
* region where the per-cpu timestamp value is stored * for the given service name and local timestamp id.
* for the given service name and timestamp id.
* Clobbers: x0 - x9 * Clobbers: x0 - x9
*/ */
.macro pmf_calc_timestamp_offset _name _tid .macro pmf_calc_timestamp_addr _name _tid
mov x9, x30 mov x9, x30
bl plat_my_core_pos bl plat_my_core_pos
mov x30, x9 mov x30, x9