|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 11/15] target: Use ArchCPU as interface to target CPU |
| Date: | Thu, 10 Feb 2022 09:48:54 +1100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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~
| [Prev in Thread] | Current Thread | [Next in Thread] |