Bin Meng
7b0f26e420
hw/intc: sifive_plic: Improve robustness of the PLIC config parser
...
At present the PLIC config parser can only handle legal config string
like "MS,MS". However if a config string like ",MS,MS,,MS,MS,," is
given the parser won't get the correct configuration.
This commit improves the config parser to make it more robust.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221211030829.802437-7-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-01-06 10:42:55 +10:00
..
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2022-12-15 11:18:20 +00:00
2022-12-15 11:18:20 +00:00
2022-11-21 11:45:13 +00:00
2020-11-15 16:42:14 +01:00
2022-12-15 11:18:20 +00:00
2021-12-15 10:11:34 +00:00
2022-11-14 15:10:58 +00:00
2022-12-15 11:18:19 +00:00
2022-12-15 11:18:20 +00:00
2022-12-15 11:18:20 +00:00
2022-12-15 11:18:20 +00:00
2022-12-15 11:18:20 +00:00
2022-08-01 11:58:02 +02:00
2022-03-07 13:16:50 +00:00
2022-07-18 13:20:09 +01:00
2022-02-21 13:30:20 +00:00
2022-02-21 13:30:20 +00:00
2021-03-19 15:18:43 +01:00
2022-04-21 11:37:04 +01:00
2022-04-21 09:27:54 -07:00
2022-04-22 14:44:53 +01:00
2021-11-09 10:11:27 +01:00
2021-05-02 17:24:51 +02:00
2022-10-31 18:48:23 +00:00
2022-01-27 12:08:50 +01:00
2021-03-19 08:48:18 -04:00
2021-05-02 17:24:50 +02:00
2022-01-27 12:08:50 +01:00
2021-01-08 15:13:38 +00:00
2023-01-06 10:42:55 +10:00
2022-11-04 17:07:40 +08:00
2022-10-17 10:28:35 +08:00
2022-07-04 11:08:58 +05:30
2022-07-19 21:53:58 +05:30
2021-02-21 18:41:46 +01:00
2021-11-09 10:11:27 +01:00
2022-06-06 18:12:30 +00:00
2022-04-26 08:17:05 -07:00
2021-05-02 17:24:50 +02:00
2021-09-30 15:30:24 +02:00
2022-10-31 18:48:23 +00:00
2022-03-02 06:51:39 +01:00
2022-07-06 10:22:38 -03:00
2022-07-06 10:22:38 -03:00
2022-08-31 14:08:06 -03:00
2022-09-07 09:19:10 +02:00
2022-06-08 19:38:47 +01:00
2022-09-07 09:18:33 +02:00
2020-11-23 10:41:58 +00:00
2022-04-06 10:50:38 +02:00
2021-05-02 17:24:51 +02:00
2021-10-30 18:39:37 +02:00
2023-01-06 10:42:55 +10:00
2021-10-21 11:42:47 +11:00
2022-03-02 06:51:39 +01:00
2022-11-04 17:07:37 +08:00
2022-04-06 14:31:55 +02:00
2020-11-15 16:38:24 +01:00
2021-05-02 17:24:51 +02:00
2022-12-16 15:59:07 +00:00
2022-05-05 15:36:17 -03:00
2022-07-18 13:59:43 -03:00