Commit d2e201b4 authored by dp-arm's avatar dp-arm
Browse files

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
parent 77b05323
...@@ -34,12 +34,11 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment