Philippe Mathieu-Daudé
454c1e1dd8
hw/misc/mips_itu: Make MIPSITUState target agnostic
...
When prototyping a heterogenous machine including the ITU,
we get:
include/hw/misc/mips_itu.h:76:5: error: unknown type name 'MIPSCPU'
MIPSCPU *cpu0;
^
MIPSCPU is declared in the target specific "cpu.h" header,
but we don't want to include it, because "cpu.h" is target
specific and its inclusion taints all files including
"mips_itu.h", which become target specific too. We can
however use the 'ArchCPU *' type in the public header.
By keeping the TYPE_MIPS_CPU QOM type check in the link
property declaration, QOM core code will still check the
property is a correct MIPS CPU.
TYPE_MIPS_ITU is still built per-(MIPS)target, but its header
can now be included by other targets.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231009171443.12145-4-philmd@linaro.org>
2023-10-20 14:46:07 +02:00
..
2023-09-08 13:08:52 +03:00
2020-09-18 14:12:32 -04:00
2023-01-12 16:50:19 +00:00
2023-01-12 16:50:19 +00:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-06-06 10:19:31 +01:00
2023-06-06 10:19:32 +01:00
2020-09-18 14:12:32 -04:00
2023-06-06 10:19:33 +01:00
2020-09-18 14:12:32 -04:00
2021-02-11 11:50:14 +00:00
2021-03-08 17:20:02 +00:00
2021-03-08 11:54:16 +00:00
2021-03-08 11:54:16 +00:00
2021-09-01 11:08:18 +01:00
2022-05-11 16:50:32 +02:00
2022-01-20 11:47:53 +00:00
2023-02-08 07:28:05 +01:00
2022-06-30 09:21:14 +02:00
2022-07-14 16:24:38 +02:00
2023-08-31 19:47:43 +02:00
2020-09-18 14:12:32 -04:00
2021-05-01 10:03:52 +02:00
2023-08-31 19:47:43 +02:00
2021-05-02 17:24:50 +02:00
2022-05-11 16:49:06 +02:00
2022-05-11 16:49:06 +02:00
2020-03-23 17:22:30 +00:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2021-07-02 11:48:36 +01:00
2023-05-02 15:47:40 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2019-08-16 13:31:52 +02:00
2023-10-06 10:33:43 +02:00
2020-06-09 06:59:44 +02:00
2021-03-19 15:18:43 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-08-31 09:45:17 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-10-06 10:33:43 +02:00
2021-03-08 17:20:01 +00:00
2021-03-08 17:20:02 +00:00
2021-03-08 17:20:01 +00:00
2015-10-24 18:03:18 +02:00
2023-04-20 11:17:35 +02:00
2021-03-15 00:39:30 +01:00
2023-10-06 10:33:43 +02:00
2023-01-08 01:54:22 -05:00
2023-01-08 01:54:22 -05:00
2023-01-08 01:54:22 -05:00
2023-03-08 00:37:48 +01:00
2020-11-03 16:51:13 +01:00
2023-10-20 14:46:07 +02:00
2023-02-06 11:41:39 +00:00
2021-03-08 17:20:03 +00:00
2021-05-10 17:21:54 +01:00
2020-09-18 14:12:32 -04:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2020-09-18 14:12:32 -04:00
2018-06-08 13:15:32 +01:00
2020-09-09 09:27:09 -04:00
2023-01-08 01:54:22 -05:00
2023-06-19 15:27:21 +01:00
2023-07-10 22:29:14 +10:00
2023-01-08 01:54:22 -05:00
2020-09-18 13:49:48 -04:00
2023-01-08 01:54:22 -05:00
2023-01-08 01:54:22 -05:00
2020-11-10 11:03:48 +00:00
2022-05-11 16:49:06 +02:00
2022-05-11 16:49:06 +02:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-01-08 01:54:22 -05:00
2020-10-12 11:50:22 -04:00
2023-09-08 16:41:34 +01:00
2023-09-08 16:41:35 +01:00
2023-09-08 16:41:35 +01:00
2022-04-21 11:37:03 +01:00
2023-01-08 01:54:22 -05:00
2021-03-12 12:40:09 +00:00
2022-12-15 17:37:47 +00:00
2022-03-18 11:31:20 +00:00