summaryrefslogtreecommitdiff
path: root/include/lib/pmf
AgeCommit message (Collapse)Author
2016-09-19Merge pull request #706 from dp-arm/dp/pmf-aligned-svcdanh-arm
Ensure PMF service timestamps are properly aligned on a cache line bo…
2016-09-14Ensure PMF service timestamps are properly aligned on a cache line boundarydp-arm
When using more than a single service in PMF, it is necessary that the per-service timestamps begin on a cache line boundary. Previously it was possible that two services shared a cache line for their timestamps. This made it difficult to reason about cache maintenance operations within a single service and required a global understanding of how all services operate. Change-Id: Iacaae5154a7e19ad4107468e56df9ad082ee371c
2016-09-14Rename `pmf_calc_timestamp_offset` to `pmf_calc_timestamp_addr`dp-arm
The macro calculates an absolute address rather than an offset so rename it to avoid confusion. Change-Id: I351f73dfd809fd28c0c30d38928caf5c5cd1af04
2016-08-26Add assembler helper to calculate PMF timestamp offsetdp-arm
Given the service name and timestamp id, this assembler macro calculates the offset into a memory region where the per-cpu timestamp value is located. Change-Id: I47f6dfa2a17be182675e2ca0489d6eed42433209
2016-08-26Move pmf headers to include/lib/pmfdp-arm
More headers will be needed soon so better to move these to their own directory to avoid cluttering include/lib. Change-Id: I6a72dc5b602d6f51954cf60aadd1beb52a268670