Move helpers from arch.h to arch_helpers.h
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 23 Nov 2018 13:54:00 +0000 (13:54 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 18 Dec 2018 10:57:01 +0000 (10:57 +0000)
commit5e96139f78dbb64b65537a1d24aacecb8a0264d4
tree1c2120219687ad65fb29eb6458ed0e65dab7e7a3
parente01065472a588c4f7f52f88654c5b991498eb3dc
Move helpers from arch.h to arch_helpers.h

Some of the affected macros can only be used from C code. In general, we
use arch_helpers.h for any C helpers to access registers. For
consistency, the other macros have been moved as well.

Also, import some AArch32 helpers from TF-A-Tests.

Change-Id: Ie8fe1ddeadba5336c12971ddc39a7883121386b1
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
include/lib/aarch32/arch_helpers.h
include/lib/aarch64/arch.h
include/lib/aarch64/arch_helpers.h