On 2/10/22 09:33, Philippe Mathieu-Daudé wrote:
-struct ArchCPU { +typedef struct ArchCPU { /*< private >*/ CPUState parent_obj; /*< public >*/ @@ -188,7 +188,7 @@ struct ArchCPU { uint32_t reset_addr; uint32_t exception_addr; uint32_t fast_tlb_miss_addr; -}; +} Nios2CPU;
I think keeping the typedef separate, as you have done for the other targets, is easier to read.
r~