Ivan Klokov
2e6dba15cd
hw/intc/riscv_aplic: Zero init APLIC internal state
...
Since g_new is used to initialize the RISCVAPLICState->state structure,
in some case we get behavior that is not as expected. This patch
changes this to g_new0, which allows to initialize the APLIC in the correct state.
Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Message-Id: <20230413133432.53771-1-ivan.klokov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-05-05 10:49:50 +10:00
..
2023-04-28 11:31:54 +02:00
2023-04-24 22:56:55 -04:00
2022-07-18 13:20:14 +01:00
2023-02-08 07:28:05 +01:00
2023-05-02 15:47:41 +01:00
2023-03-08 00:37:48 +01:00
2022-04-06 14:31:55 +02:00
2023-04-28 11:31:54 +02:00
2023-05-05 10:49:50 +10:00
2023-04-27 16:37:28 +02:00
2023-01-16 17:51:20 +01:00
2023-04-24 22:56:55 -04:00
2023-04-28 11:31:54 +02:00
2023-03-20 12:43:50 +01:00
2023-03-20 12:43:50 +01:00
2023-02-27 22:29:02 +01:00
2023-03-13 15:39:31 +04:00
2023-04-11 14:13:29 +01:00
2023-04-24 22:56:55 -04:00
2023-04-28 11:31:54 +02:00
2023-03-20 12:43:50 +01:00
2023-05-05 10:49:50 +10:00
2023-01-08 01:54:22 -05:00
2023-01-08 01:54:22 -05:00
2023-03-10 14:31:37 +00:00
2023-04-04 19:29:13 +08:00
2023-04-21 04:25:52 -04:00
2023-04-21 04:25:52 -04:00
2023-02-27 13:27:05 +00:00
2023-03-08 00:37:48 +01:00
2023-05-02 15:47:40 +01:00
2023-05-02 15:47:41 +01:00
2022-10-17 16:15:10 -03:00
2023-02-27 22:29:01 +01:00
2023-04-28 11:31:54 +02:00
2023-03-03 17:11:22 +00:00
2023-03-22 15:06:57 +00:00
2023-04-21 04:25:52 -04:00
2023-04-24 22:56:55 -04:00
2023-04-28 11:31:54 +02:00
2023-04-25 13:17:28 +02:00
2023-04-28 08:05:37 +02:00
2023-02-08 07:28:05 +01:00
2023-05-05 10:49:50 +10:00
2023-03-20 12:43:50 +01:00
2022-10-27 11:34:31 +01:00
2023-04-21 04:25:52 -04:00
2023-04-28 11:31:54 +02:00
2023-05-02 15:47:41 +01:00
2023-02-27 09:15:38 +01:00
2023-02-27 22:29:02 +01:00
2023-03-02 03:10:46 -05:00
2022-05-12 12:29:44 +02:00
2023-04-21 04:25:52 -04:00
2023-04-03 16:12:30 +01:00
2023-04-20 10:21:14 +01:00
2023-04-20 08:17:15 -04:00
2021-07-20 20:10:21 +02:00
2023-04-28 11:31:54 +02:00
2023-03-22 15:06:57 +00:00
2023-04-28 11:31:54 +02:00
2023-04-20 10:21:13 +01:00
2023-04-21 04:25:52 -04:00
2023-03-24 14:52:14 +00:00
2022-05-06 15:27:40 -07:00
2023-03-01 08:22:49 +00:00
2022-06-06 18:09:03 +00:00