aarch64: refactor SCTLR manipulation
commitf988f5960450cf9e8c456bf8e3b4d2008e35a207
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Mon, 14 Nov 2016 11:18:43 +0000 (14 12:18 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Feb 2017 09:12:23 +0000 (24 09:12 +0000)
tree6223f605b93d60d8f40dc3dd2e01c41efd4944ab
parent5d00fd9d1dc504335dd71e474a3d61dec7696c40
aarch64: refactor SCTLR manipulation

Reduce SLOCs in SCTLR retrieval and modification functions and make them
less complex.

Change-Id: Ida1a99c223743247f171b52eef80dc9886802101
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3982
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/aarch64.c
src/target/armv8_opcodes.h