Re: [Qemu-devel] target i386 compile problem for hw/core/nmi.c

2015-11-27 Thread Peter Maydell
On 27 November 2015 at 15:03, Tim Sander wrote: > We are trying to call "inject_nmi" from a device on a x386 target. > Unfortunatly it gets called with the wrong defines and the define > TARGET_I386 is *not* defined. If we define TARGET_I386 for testing > the code in the defines fails to compile.

[Qemu-devel] target i386 compile problem for hw/core/nmi.c

2015-11-27 Thread Tim Sander
Hi We are trying to call "inject_nmi" from a device on a x386 target. Unfortunatly it gets called with the wrong defines and the define TARGET_I386 is *not* defined. If we define TARGET_I386 for testing the code in the defines fails to compile. Trying to fix this by including: "qom/cpu.h" and "