Tomas Vanek
d3a37b0e76
target/armv7m: rework Cortex-M register handling part 3
...
Move primask/basepri/faultmask/control packing/unpacking from
cortex_m.c and hla_target.c to armv7m.c armv7m_read_core_reg()
and armv7m_write_core_reg() where also the FP 32/64-bit registers
conversion takes place.
Introduce a new hidden register ARMV7M_PMSK_BPRI_FLTMSK_CTRL
for packing/unpacking of special registers in the register cache.
The new packing/unpacking is endianess safe.
While on it improve returned error codes and LOG_ messages.
Just minimal changes in cortex_m.c and hla_target.c, will be
consolidated in the next patch.
Change-Id: Id51e764e243e54b5fdaadf2a202eee7c4bc729fe
Signed-off-by: Tomas Vanek <vanekt@fbl.cz >
Reviewed-on: http://openocd.zylin.com/5863
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com >
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com >
2020-11-15 21:06:23 +00:00
..
2020-11-07 20:49:53 +00:00
2020-11-07 20:50:16 +00:00
2020-10-03 11:21:15 +01:00
2020-10-03 11:21:15 +01:00
2020-10-11 15:53:52 +01:00
2018-01-16 09:05:41 +00:00
2020-02-24 10:28:46 +00:00
2020-11-04 17:39:53 +00:00
2020-02-23 21:36:36 +00:00
2016-05-24 22:30:01 +01:00
2017-02-10 13:50:17 +01:00
2020-09-05 17:13:00 +01:00
2020-02-27 06:46:51 +00:00
2020-07-26 23:09:45 +01:00
2020-02-27 06:46:51 +00:00
2020-07-26 23:09:45 +01:00
2020-02-27 06:46:51 +00:00
2020-10-24 23:25:03 +01:00
2020-09-05 17:12:39 +01:00
2020-09-05 17:12:39 +01:00
2020-07-08 22:07:38 +01:00
2020-11-07 20:53:26 +00:00
2020-07-26 20:12:48 +01:00
2020-07-26 20:12:21 +01:00
2020-07-26 20:12:21 +01:00
2020-08-02 10:48:52 +01:00
2020-08-02 10:48:52 +01:00
2020-08-02 10:48:52 +01:00
2016-05-24 22:30:55 +01:00
2020-07-26 20:12:56 +01:00
2016-05-24 22:30:55 +01:00
2020-07-26 20:12:21 +01:00
2017-02-10 13:50:17 +01:00
2020-11-04 17:39:17 +00:00
2017-02-10 13:50:17 +01:00
2020-11-04 17:39:17 +00:00
2016-05-24 22:30:55 +01:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:37:25 +00:00
2020-11-04 17:36:13 +00:00
2020-11-04 17:37:25 +00:00
2018-04-10 09:13:02 +01:00
2020-01-14 11:40:25 +00:00
2020-09-27 17:39:44 +01:00
2020-09-27 17:39:44 +01:00
2020-07-26 23:09:45 +01:00
2020-07-08 22:08:19 +01:00
2020-07-08 22:07:38 +01:00
2020-07-08 22:07:38 +01:00
2020-07-26 23:09:45 +01:00
2020-11-07 20:50:16 +00:00
2018-06-04 09:16:08 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2020-09-20 14:35:44 +01:00
2019-05-14 19:37:11 +01:00
2019-05-14 19:35:41 +01:00
2016-05-24 22:30:01 +01:00
2017-02-10 13:50:17 +01:00
2020-09-27 17:39:44 +01:00
2020-03-12 10:11:19 +00:00
2020-09-05 17:12:39 +01:00
2017-02-10 13:50:17 +01:00
2020-11-04 17:39:17 +00:00
2020-09-05 17:12:39 +01:00
2020-09-05 17:12:39 +01:00
2019-06-12 15:14:44 +01:00
2020-11-04 17:39:17 +00:00
2020-07-26 23:09:45 +01:00
2020-11-07 20:49:57 +00:00
2020-11-07 20:49:57 +00:00
2020-11-15 21:06:23 +00:00
2020-11-15 21:06:23 +00:00
2020-09-05 17:12:39 +01:00
2017-02-10 14:01:39 +01:00
2020-09-05 17:12:39 +01:00
2020-07-08 22:08:19 +01:00
2020-03-12 09:47:08 +00:00
2020-03-12 09:47:08 +00:00
2020-11-04 17:39:17 +00:00
2020-07-26 23:09:45 +01:00
2020-11-04 17:39:17 +00:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:39:17 +00:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2020-07-26 23:09:45 +01:00
2016-05-24 22:30:55 +01:00
2020-03-26 19:30:34 +00:00
2020-03-26 19:30:34 +00:00
2020-11-04 17:39:17 +00:00
2018-11-06 12:17:48 +00:00
2020-11-15 21:06:23 +00:00
2020-11-04 17:39:47 +00:00
2020-05-09 14:40:52 +01:00
2020-02-24 10:30:36 +00:00
2020-09-05 17:12:39 +01:00
2020-07-08 22:08:08 +01:00
2020-11-04 17:39:17 +00:00
2020-02-24 10:30:36 +00:00
2020-07-08 22:07:38 +01:00
2020-07-08 22:07:38 +01:00
2020-09-05 17:12:39 +01:00
2018-12-12 08:47:44 +00:00
2020-07-26 23:09:45 +01:00
2020-09-05 17:12:39 +01:00
2018-12-12 08:47:44 +00:00
2019-05-14 19:37:11 +01:00
2018-12-12 08:47:44 +00:00
2020-03-07 15:30:05 +00:00
2016-05-24 22:30:55 +01:00
2019-05-14 19:37:11 +01:00
2016-05-24 22:30:55 +01:00
2020-11-07 20:52:00 +00:00
2020-07-26 23:09:45 +01:00
2020-07-26 20:12:21 +01:00
2020-07-26 23:09:45 +01:00
2020-11-15 21:06:23 +00:00
2020-11-08 22:46:00 +00:00
2020-11-08 22:46:00 +00:00
2020-07-26 23:09:45 +01:00
2017-02-10 13:50:17 +01:00
2020-09-05 17:12:39 +01:00
2020-10-03 11:21:15 +01:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:39:17 +00:00
2020-07-26 23:09:45 +01:00
2020-09-05 17:12:39 +01:00
2020-07-26 23:09:45 +01:00
2020-09-05 17:12:39 +01:00
2019-11-28 16:59:15 +00:00
2020-07-08 22:08:08 +01:00
2019-11-28 16:59:15 +00:00
2020-11-04 17:39:17 +00:00
2020-01-20 06:28:49 +00:00
2020-09-05 20:47:11 +01:00
2017-05-08 18:04:56 +01:00
2020-09-05 17:12:39 +01:00
2019-11-28 19:49:10 +00:00
2017-02-10 13:50:17 +01:00
2017-02-10 13:50:17 +01:00
2020-09-05 17:13:10 +01:00
2016-05-24 22:30:55 +01:00
2020-05-09 14:39:29 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:55 +01:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:39:17 +00:00
2017-02-10 13:50:17 +01:00
2020-07-26 23:09:45 +01:00
2016-05-24 22:30:55 +01:00
2017-02-10 13:50:17 +01:00
2017-02-10 13:50:17 +01:00
2020-11-04 17:39:17 +00:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:39:17 +00:00
2016-05-24 22:30:55 +01:00
2020-10-30 22:00:49 +00:00
2020-02-15 15:36:56 +00:00
2019-05-14 19:37:11 +01:00
2016-05-24 22:30:55 +01:00
2020-11-04 17:39:17 +00:00
2018-01-13 09:25:12 +00:00
2019-08-28 08:07:37 +01:00
2020-11-15 21:05:37 +00:00
2020-07-26 23:09:45 +01:00
2018-06-04 09:16:08 +01:00
2019-05-14 19:37:11 +01:00
2019-03-27 08:55:03 +00:00
2020-08-02 10:48:41 +01:00
2020-11-04 17:39:17 +00:00
2019-11-07 08:21:40 +00:00
2020-07-26 23:09:45 +01:00
2016-05-24 22:30:55 +01:00
2019-08-28 08:07:37 +01:00
2020-11-15 21:05:37 +00:00
2020-11-11 21:22:16 +00:00
2019-04-07 08:17:36 +01:00
2020-09-05 20:47:11 +01:00
2016-05-24 22:30:55 +01:00
2019-05-14 19:37:11 +01:00
2018-01-13 09:25:34 +00:00
2020-11-15 21:05:37 +00:00
2016-05-24 22:30:55 +01:00