cpu log buffer size depends on cache line size
authorEtienne Carriere <etienne.carriere@linaro.org>
Fri, 1 Sep 2017 08:22:20 +0000 (10:22 +0200)
committerEtienne Carriere <etienne.carriere@linaro.org>
Fri, 1 Sep 2017 08:22:20 +0000 (10:22 +0200)
commit86606eb51e81b4189579e2b429f1c8f26f5c804c
treeac4535b711a6744398802de913fc43a678090b95
parent096b7af7c93953673c0500156f482ad8c6da525e
cpu log buffer size depends on cache line size

Platform may use specific cache line sizes. Since CACHE_WRITEBACK_GRANULE
defines the platform specific cache line size, it is used to define the
size of the cpu data structure CPU_DATA_SIZE aligned on cache line size.

Introduce assembly macro 'mov_imm' for AArch32 to simplify implementation
of function '_cpu_data_by_index'.

Change-Id: Ic2d49ffe0c3e51649425fd9c8c99559c582ac5a1
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
include/common/aarch32/asm_macros.S
include/lib/el3_runtime/cpu_data.h
lib/el3_runtime/aarch32/cpu_data.S
lib/el3_runtime/aarch64/cpu_data.S