From patchwork Fri Jun 25 16:10:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "SourceForge.net" X-Patchwork-Id: 108084 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5PGB0Lb019964 for ; Fri, 25 Jun 2010 16:11:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756498Ab0FYQK4 (ORCPT ); Fri, 25 Jun 2010 12:10:56 -0400 Received: from ch3.sourceforge.net ([216.34.181.60]:45381 "EHLO ch3.sourceforge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517Ab0FYQK4 (ORCPT ); Fri, 25 Jun 2010 12:10:56 -0400 Received: from www by sfs-web-6.v29.ch3.sourceforge.com with local (Exim 4.69) (envelope-from ) id 1OSBUS-0000iX-Dx; Fri, 25 Jun 2010 16:10:52 +0000 To: noreply@sourceforge.net From: "SourceForge.net" Subject: [ kvm-Bugs-2063072 ] compiling problem with "tcg_ctx" Mime-Version: 1.0 X-SourceForge-Tracker-unixname: kvm X-SourceForge-Tracker-trackerid: 893831 X-SourceForge-Tracker-itemid: 2063072 X-SourceForge-Tracker-itemstatus: Closed X-SourceForge-Tracker-itemassignee: aliguori X-SourceForge-Tracker-itemupdate-reason: Comment added X-SourceForge-Tracker-itemupdate-username: jessorensen Message-Id: Date: Fri, 25 Jun 2010 16:10:52 +0000 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 25 Jun 2010 16:11:04 +0000 (UTC) diff --git a/qemu/target-i386/fake-exec.c b/qemu/target-i386/fake-exec.c index 737286d..552089b 100644 --- a/qemu/target-i386/fake-exec.c +++ b/qemu/target-i386/fake-exec.c @@ -12,6 +12,13 @@ */ #include "exec.h" #include "cpu.h" +#include "tcg.h" + +/* code generation context */ +TCGContext tcg_ctx; + +uint16_t gen_opc_buf[OPC_BUF_SIZE]; +TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; int code_copy_enabled = 0; @@ -45,10 +52,6 @@ int cpu_x86_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr return 0; } -void flush_icache_range(unsigned long start, unsigned long stop) -{ -} - void optimize_flags_init(void) {