commit | a28461787ec8327d22b93cb23715b8aaa611ea98 | [log] [tgz] |
---|---|---|
author | Olivier Deprez <olivier.deprez@arm.com> | Tue Mar 23 18:45:41 2021 +0100 |
committer | Olivier Deprez <olivier.deprez@arm.com> | Fri Apr 16 12:19:24 2021 +0200 |
tree | b1aeec5377bf13aab9969763ac579f163384d6c9 | |
parent | e797180fecef32d4e98090f3642aa5965e993413 [diff] [blame] |
Import data cache clean and invalidation helpers As a follow-up to 8077591cc5154a replace earlier cache maintenance functions by ones imported from TF-A project (data cache clean and invalidation), from the following files: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/ lib/aarch64/cache_helpers.S?h=v2.4 https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/ include/arch/aarch64/asm_macros.S?h=v2.4 Change-Id: Iab55bd2cfa006507f811c6f396db3a8fe3160580 Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/inc/hf/arch/cache.h b/inc/hf/arch/cache.h index a014732..f2f1317 100644 --- a/inc/hf/arch/cache.h +++ b/inc/hf/arch/cache.h
@@ -11,4 +11,5 @@ #include "hf/addr.h" #include "hf/types.h" -void arch_cache_clean_range(vaddr_t start, size_t size); +void arch_cache_data_clean_range(vaddr_t start, size_t size); +void arch_cache_data_invalidate_range(vaddr_t start, size_t size);