]> git.sur5r.net Git - openocd/commit
aarch64: fix accesses to SCTLR_ELn register
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 16 Sep 2016 09:10:55 +0000 (11:10 +0200)
committerMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 10 Feb 2017 13:01:38 +0000 (14:01 +0100)
commit044e4b81080ad80815ce56636dfec9ecc5df5b13
treee0fa8dcd9ec860da8e708ebdaa32704aef5693c1
parentf28d5ee71fcbcd296d85e236013e16790732c3af
aarch64: fix accesses to SCTLR_ELn register

The system control register has several instances, depending on the
exception level. Make sure to access always access the correct one.

Change-Id: I9e867f4dbd9625762042f20ed905064ea4e3270f
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
src/target/aarch64.c