qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/6] arm: use "struct ARMCPU" in header files


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/6] arm: use "struct ARMCPU" in header files
Date: Thu, 17 Dec 2015 14:45:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0


On 15/12/2015 17:05, Peter Maydell wrote:
>> >
>> >  typedef struct {
>> > -    ARMCPU *cpu;
>> > +    struct ARMCPU *cpu;
> 
> Couldn't we just put the typedef in typedefs.h instead ?

Even better: we can put the typedef in cpu-qom.h and move the struct
definition to cpu.h.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]