arm-trusted-firmware/include/arch/aarch32
Masahiro Yamada 115041633d locks: bakery: use is_dcache_enabled() helper
bakery_lock_normal.c uses the raw register accessor, read_sctlr(_el3)
to check whether the dcache is enabled.

Using is_dcache_enabled() is cleaner, and a good abstraction for
the library code like this.

A problem is is_dcache_enabled() is declared in the local header,
lib/xlat_tables_v2/xlat_tables_private.h

I searched for a good place to declare this helper. Moving it to
arch_helpers.h, closed to cache operation helpers, looks good enough
to me.

I also changed the type of 'is_cached' to bool for consistency,
and to avoid MISRA warnings.

Change-Id: I9b016f67bc8eade25c316aa9c0db0fa4cd375b79
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-04-07 09:33:13 +02:00
..
arch.h Fix MISRA C issues in BL1/BL2/BL31 2020-04-03 16:20:59 -05:00
arch_features.h drivers: generic_delay_timer: Assert presence of Generic Timer 2019-02-06 09:54:42 +00:00
arch_helpers.h locks: bakery: use is_dcache_enabled() helper 2020-04-07 09:33:13 +02:00
asm_macros.S Use Speculation Barrier instruction for v8.5 cores 2020-03-11 11:11:05 -05:00
assert_macros.S Reorganize architecture-dependent header files 2019-01-04 10:43:16 +00:00
console_macros.S console: update skeleton 2019-07-16 13:01:02 +00:00
el3_common_macros.S el3_entrypoint_common: avoid overwriting arg3 2020-02-21 15:32:38 +01:00
smccc_helpers.h Changes to support updated register usage in SMCCC v1.2 2019-11-26 12:56:30 -06:00
smccc_macros.S aarch32: stop speculative execution past exception returns 2020-03-01 06:44:30 -06:00