Re: [Qemu-devel] [RFC v2 14/34] cpu-defs: Allow multiple inclusions

2015-06-01 Thread Richard Henderson
On 06/01/2015 12:59 AM, Paolo Bonzini wrote: > > > On 31/05/2015 08:11, Peter Crosthwaite wrote: >> Allow subsequent inclusion of cpu-defs.h. This allows including >> multiple cpu.h's and each getting the right set of definitions for >> its env structure definition. All define symbols are undeffe

Re: [Qemu-devel] [RFC v2 14/34] cpu-defs: Allow multiple inclusions

2015-06-01 Thread Paolo Bonzini
On 31/05/2015 08:11, Peter Crosthwaite wrote: > Allow subsequent inclusion of cpu-defs.h. This allows including > multiple cpu.h's and each getting the right set of definitions for > its env structure definition. All define symbols are undeffed and > redeffed to the new values. > > CPUTLBEntry a

[Qemu-devel] [RFC v2 14/34] cpu-defs: Allow multiple inclusions

2015-05-30 Thread Peter Crosthwaite
Allow subsequent inclusion of cpu-defs.h. This allows including multiple cpu.h's and each getting the right set of definitions for its env structure definition. All define symbols are undeffed and redeffed to the new values. CPUTLBEntry and CPUIOTLBEntry need to be renamed via #define by the calle