mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00
Merge pull request #706 from dp-arm/dp/pmf-aligned-svc
Ensure PMF service timestamps are properly aligned on a cache line bo…
This commit is contained in:
commit
92455d89a9
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ typedef struct pmf_svc_desc {
|
||||||
*/
|
*/
|
||||||
#define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \
|
#define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \
|
||||||
unsigned long long pmf_ts_mem_ ## _name[_total_id] \
|
unsigned long long pmf_ts_mem_ ## _name[_total_id] \
|
||||||
__section("pmf_timestamp_array") __used;
|
__aligned(CACHE_WRITEBACK_GRANULE) \
|
||||||
|
__section("pmf_timestamp_array") \
|
||||||
|
__used;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convenience macro to validate tid index for the given TS array.
|
* Convenience macro to validate tid index for the given TS array.
|
||||||
|
|
Loading…
Add table
Reference in a new issue