Antonio Borneo
3f4bc6ce7f
adiv6: use struct adiv5_ap->ap_num to contain the AP base address
...
ADIv5 DAP can only have 256 AP, while ADIv6 can provide till
2**40 (1,099,511,627,776) AP per DAP.
Reuse the field ap_num in struct adiv5_ap, currently used on ADIv5
to hold the ADIv5 AP number (apsel), to contain the ADIv6 AP base
address.
Convert struct adiv5_ap->ap_num to 64 bit and initialize it to
DP_APSEL_INVALID for unused AP.
Restrict dap_find_get_ap() to ADIv5 only. To be enhanced.
On ADIv6, let dap_get_ap() return an already allocated AP, or
allocate and return an unused AP.
Add function is_ap_num_valid() and use it.
Change-Id: Ib2fe8c7ec0d08393cd91c29fdac5d632dfc1e438
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
Reviewed-on: https://review.openocd.org/c/openocd/+/6461
Reviewed-by: Daniel Goehring <dgoehrin@os.amperecomputing.com >
Tested-by: jenkins
2022-06-24 21:37:44 +00:00
..
2022-06-04 08:18:44 +00:00
2022-03-19 09:14:39 +00:00
2022-06-04 08:20:09 +00:00
2022-06-04 08:18:44 +00:00
2022-04-30 17:53:30 +00:00
2020-10-03 11:21:15 +01:00
2022-06-24 21:33:23 +00:00
2021-07-20 14:52:25 +01:00
2020-02-24 10:28:46 +00:00
2022-06-24 21:37:00 +00:00
2022-06-24 21:37:21 +00:00
2016-05-24 22:30:01 +01:00
2021-05-01 14:35:09 +01:00
2021-06-04 17:40:48 +01:00
2020-02-27 06:46:51 +00:00
2021-01-13 11:33:53 +00:00
2020-02-27 06:46:51 +00:00
2021-07-20 14:55:24 +01:00
2020-02-27 06:46:51 +00:00
2022-03-19 09:14:39 +00:00
2021-05-22 10:06:45 +01:00
2022-03-19 09:14:39 +00:00
2020-07-08 22:07:38 +01:00
2021-06-18 23:12:54 +01:00
2020-07-26 20:12:48 +01:00
2021-06-18 23:12:54 +01:00
2020-07-26 20:12:21 +01:00
2021-07-24 10:37:49 +01:00
2021-07-20 14:52:25 +01:00
2021-07-24 10:37:49 +01:00
2016-05-24 22:30:55 +01:00
2021-07-20 14:52:25 +01:00
2016-05-24 22:30:55 +01:00
2021-07-24 10:37:49 +01:00
2017-02-10 13:50:17 +01:00
2021-07-20 14:52:25 +01:00
2021-07-20 14:52:25 +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
2022-06-24 21:37:44 +00:00
2022-06-24 21:37:44 +00:00
2022-05-14 08:55:52 +00:00
2022-06-24 21:33:23 +00:00
2018-04-10 09:13:02 +01:00
2022-06-24 21:37:44 +00:00
2022-04-30 17:53:30 +00:00
2021-07-20 14:52:49 +01:00
2022-03-19 09:14:39 +00:00
2021-07-20 14:52:25 +01:00
2021-07-24 10:37:49 +01:00
2021-12-11 17:49:30 +00:00
2021-07-20 14:52:49 +01:00
2022-02-05 21:40:17 +00:00
2018-06-04 09:16:08 +01:00
2021-07-20 14:52:49 +01:00
2016-05-24 22:30:55 +01:00
2022-06-24 21:37:44 +00:00
2021-03-10 21:34:04 +00:00
2021-07-24 10:37:49 +01:00
2019-05-14 19:37:11 +01:00
2021-05-01 14:35:09 +01:00
2016-05-24 22:30:01 +01:00
2017-02-10 13:50:17 +01:00
2021-07-24 10:37:49 +01:00
2020-03-12 10:11:19 +00:00
2022-02-14 15:10:10 +00:00
2017-02-10 13:50:17 +01:00
2022-02-14 15:10:10 +00:00
2020-09-05 17:12:39 +01:00
2021-07-24 10:37:49 +01:00
2019-06-12 15:14:44 +01:00
2022-06-03 23:46:21 +00:00
2021-07-02 17:12:11 +01:00
2021-03-10 21:34:04 +00:00
2021-10-02 13:18:15 +00:00
2021-11-18 21:09:34 +00:00
2022-02-25 19:56:41 +00:00
2022-02-14 15:10:10 +00:00
2017-02-10 14:01:39 +01:00
2022-03-19 09:14:39 +00:00
2021-05-22 10:04:20 +01:00
2020-03-12 09:47:08 +00:00
2021-07-20 14:52:49 +01:00
2022-01-29 18:20:48 +00:00
2021-07-02 17:12:11 +01:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:49 +01:00
2016-05-24 22:30:55 +01:00
2021-05-22 10:06:45 +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
2021-07-24 10:37:49 +01:00
2016-05-24 22:30:55 +01:00
2022-03-19 09:14:39 +00:00
2022-03-19 11:35:32 +00:00
2022-06-24 21:33:23 +00:00
2021-07-20 14:52:25 +01:00
2022-06-24 21:33:23 +00:00
2022-06-24 21:37:44 +00:00
2020-05-09 14:40:52 +01:00
2020-02-24 10:30:36 +00:00
2021-07-24 10:37:25 +01:00
2021-06-26 14:40:34 +01:00
2021-07-24 10:37:49 +01:00
2021-07-24 10:37:25 +01:00
2021-03-19 21:56:06 +00:00
2021-07-20 14:52:25 +01:00
2021-07-24 10:38:00 +01:00
2018-12-12 08:47:44 +00:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:49 +01:00
2018-12-12 08:47:44 +00:00
2022-03-19 09:14:39 +00:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:49 +01: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
2021-11-23 11:03:38 +00:00
2020-07-26 23:09:45 +01:00
2020-07-26 20:12:21 +01:00
2021-07-20 14:52:25 +01:00
2022-06-24 21:37:44 +00:00
2022-04-23 09:26:15 +00:00
2022-04-23 09:26:15 +00:00
2022-03-19 09:14:39 +00:00
2017-02-10 13:50:17 +01:00
2021-07-24 10:38:00 +01:00
2022-06-04 08:18:44 +00:00
2022-06-24 21:37:44 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2021-11-13 10:50:34 +00:00
2021-03-10 21:30:04 +00:00
2021-06-18 23:14:27 +01:00
2021-07-20 14:53:03 +01:00
2021-11-13 10:50:34 +00: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
2021-07-24 10:37:49 +01:00
2021-07-20 14:53:03 +01:00
2022-03-19 09:14:39 +00:00
2017-05-08 18:04:56 +01:00
2022-03-19 09:14:39 +00:00
2019-11-28 19:49:10 +00:00
2021-07-24 10:38:00 +01:00
2017-02-10 13:50:17 +01:00
2021-07-24 10:38:31 +01:00
2016-05-24 22:30:55 +01:00
2021-07-20 14:55:43 +01:00
2016-05-24 22:30:55 +01:00
2021-05-01 14:35:09 +01:00
2021-07-20 14:54:27 +01:00
2020-09-05 17:12:39 +01:00
2016-05-24 22:30:55 +01:00
2021-07-20 14:53:12 +01:00
2021-07-20 14:53:12 +01:00
2021-07-24 10:38:31 +01:00
2016-05-24 22:30:55 +01:00
2022-03-19 09:14:39 +00:00
2017-02-10 13:50:17 +01:00
2021-07-20 14:55:24 +01:00
2016-05-24 22:30:55 +01:00
2021-07-20 14:55:24 +01:00
2016-05-24 22:30:55 +01:00
2022-03-19 09:14:39 +00:00
2021-07-24 10:37:49 +01:00
2021-07-24 10:37:49 +01:00
2018-01-13 09:25:12 +00:00
2021-06-18 23:14:09 +01:00
2021-05-01 14:35:09 +01:00
2022-03-26 13:32:57 +00:00
2020-12-02 23:15:52 +00:00
2022-06-10 21:56:47 +00:00
2022-05-21 09:01:56 +00:00
2022-05-07 11:00:00 +00:00
2022-05-07 11:00:00 +00:00
2022-03-12 09:48:00 +00:00
2022-03-19 09:14:39 +00:00
2021-05-08 09:49:32 +01:00
2021-07-24 10:38:19 +01:00
2016-05-24 22:30:55 +01:00
2022-05-07 11:04:45 +00:00
2022-06-04 08:18:44 +00:00
2022-05-27 22:52:35 +00:00
2019-04-07 08:17:36 +01:00
2020-09-05 20:47:11 +01:00
2021-05-01 14:35:09 +01:00
2022-03-19 09:14:39 +00:00
2018-01-13 09:25:34 +00:00
2022-03-19 09:14:39 +00:00
2016-05-24 22:30:55 +01:00