Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NveDI-0000r4-B7 for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:40 -0400 Received: from [140.186.70.92] (port=46023 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NveDG-0000qD-HY for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NveDF-0007WB-8o for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:38 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:60597) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NveDF-0007Ux-48 for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:37 -0400 Received: by mail-pv0-f173.google.com with SMTP id 33so4983104pvf.4 for ; Sat, 27 Mar 2010 15:10:36 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 28 Mar 2010 00:10:36 +0200 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] [PATCH 3/7] Move cpu_exec_init_all() declaration to qemu-common.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Let cpu_exec_init_all() be called from non-CPU code. Signed-off-by: Blue Swirl --- cpu-all.h | 1 - qemu-common.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index f281a91..9942d49 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -756,7 +756,6 @@ void page_set_flags(target_ulong start, target_ulong end, int flags); int page_check_range(target_ulong start, target_ulong len, int flags); #endif -void cpu_exec_init_all(unsigned long tb_size); CPUState *cpu_copy(CPUState *env); CPUState *qemu_get_cpu(int cpu); diff --git a/qemu-common.h b/qemu-common.h index 087c034..d881a39 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -231,6 +231,8 @@ typedef struct SSIBus SSIBus; typedef uint64_t pcibus_t; +void cpu_exec_init_all(unsigned long tb_size); + /* CPU save/load. */ void cpu_save(QEMUFile *f, void *opaque); int cpu_load(QEMUFile *f, void *opaque, int version_id); -- 1.6.2.4