Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
92455d89
Commit
92455d89
authored
Sep 19, 2016
by
danh-arm
Committed by
GitHub
Sep 19, 2016
Browse files
Merge pull request #706 from dp-arm/dp/pmf-aligned-svc
Ensure PMF service timestamps are properly aligned on a cache line bo…
parents
0980b8ae
2d84b46e
Changes
1
Show whitespace changes
Inline
Side-by-side
include/lib/pmf/pmf_helpers.h
View file @
92455d89
...
@@ -71,7 +71,9 @@ typedef struct pmf_svc_desc {
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment