AArch32: Add assembly helpers
authorSoby Mathew <soby.mathew@arm.com>
Thu, 5 May 2016 11:31:57 +0000 (12:31 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 10 Aug 2016 11:35:46 +0000 (12:35 +0100)
commitf24307dec43332f2846bf18197ec7d113386c220
tree605721287c7d2044fa7f8c45c9cce7fa33f5ad27
parent031dbb122472175ad6e888f3c6e0a70d1b2e9ac7
AArch32: Add assembly helpers

This patch adds various assembly helpers for AArch32 like :

* cache management : Functions to flush, invalidate and clean
cache by MVA. Also helpers to do cache operations by set-way
are also added.

* stack management: Macros to declare stack and get the current
stack corresponding to current CPU.

* Misc: Macros to access co processor registers in AArch32,
macros to define functions in assembly, assert macros, generic
`do_panic()` implementation and function to zero block of memory.

Change-Id: I7b78ca3f922c0eda39beb9786b7150e9193425be
common/aarch32/debug.S [new file with mode: 0644]
include/common/aarch32/asm_macros.S [new file with mode: 0644]
include/common/aarch32/assert_macros.S [new file with mode: 0644]
include/common/asm_macros_common.S
lib/aarch32/cache_helpers.S [new file with mode: 0644]
lib/aarch32/misc_helpers.S [new file with mode: 0644]