summaryrefslogtreecommitdiff
path: root/include/lib/pmf/pmf_helpers.h
AgeCommit message (Collapse)Author
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-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