]> git.sur5r.net Git - openocd/commit
armv8: factor out generic bit set/clr for debug registers
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Wed, 15 Feb 2017 13:57:21 +0000 (14:57 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Feb 2017 09:15:18 +0000 (09:15 +0000)
commit6fb9f2e3ee05d8ff6241e6d61f7de0e71afeb45c
tree75627cf6d44965644737e7de93eb69e71ad1af8d
parent095ff3d2103f9e8089b5b1fb0816d43874014e08
armv8: factor out generic bit set/clr for debug registers

introduce armv8_set_dbgreg_bits() function to make register
bit-field modifications easier to read.

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