|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 13/15] tcg: disable tcg in CPUX86State struct |
Date: | Wed, 21 Jun 2017 15:24:29 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 06/21/2017 03:19 AM, Yang Zhong wrote:
--- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -52,7 +52,9 @@#include "exec/cpu-defs.h" +#ifdef CONFIG_TCG#include "fpu/softfloat.h" +#endif#define R_EAX 0#define R_ECX 1 @@ -1130,8 +1132,9 @@ typedef struct CPUX86State {/* Fields up to this point are cleared by a CPU reset */struct {} end_reset_fields; - +#ifdef CONFIG_TCG CPU_COMMON +#endif
This is at the wrong level. If !CONFIG_TCG, then CPU_COMMON should be empty. r~
[Prev in Thread] | Current Thread | [Next in Thread] |