Re: [PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h'

2023-11-06 Thread Philippe Mathieu-Daudé
On 20/10/23 10:03, Zhao Liu wrote: Hi Philippe, On Fri, Oct 13, 2023 at 04:01:11PM +0200, Philippe Mathieu-Daudé wrote: Date: Fri, 13 Oct 2023 16:01:11 +0200 From: Philippe Mathieu-Daudé Subject: [PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h' X-Mailer: git-send-em

Re: [PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h'

2023-10-20 Thread Zhao Liu
Hi Philippe, On Fri, Oct 13, 2023 at 04:01:11PM +0200, Philippe Mathieu-Daudé wrote: > Date: Fri, 13 Oct 2023 16:01:11 +0200 > From: Philippe Mathieu-Daudé > Subject: [PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h' > X-Mailer: git-send

Re: [PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h'

2023-10-13 Thread Richard Henderson
On 10/13/23 07:01, Philippe Mathieu-Daudé wrote: The OBJECT_DECLARE_CPU_TYPE() macro forward-declares each ArchCPUClass type. These forward declarations are sufficient for code in hw/ to use the QOM definitions. No need to expose these structure definitions. Keep each local to their target/ by mo

[PATCH v2 12/16] target: Move ArchCPUClass definition to 'cpu.h'

2023-10-13 Thread Philippe Mathieu-Daudé
The OBJECT_DECLARE_CPU_TYPE() macro forward-declares each ArchCPUClass type. These forward declarations are sufficient for code in hw/ to use the QOM definitions. No need to expose these structure definitions. Keep each local to their target/ by moving them to the corresponding "cpu.h" header. Sug