From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KszDj-0007AR-FH for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:23:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KszDf-00077i-9S for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:23:18 -0400 Received: from [199.232.76.173] (port=51701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KszDe-00077C-Kw for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:23:14 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KszDT-0006F4-TY for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:23:14 -0400 From: Glauber Costa Date: Thu, 23 Oct 2008 12:18:56 -0200 Message-Id: <1224771556-11146-13-git-send-email-glommer@redhat.com> In-Reply-To: <1224771556-11146-1-git-send-email-glommer@redhat.com> References: <1224771556-11146-1-git-send-email-glommer@redhat.com> Subject: [Qemu-devel] [PATCH 12/32] move kqemu externs to kqemu.h Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, jan.kiszka@siemens.com, jes@sgi.com, avi@qumranet.com, Glauber Costa , dmitry.baryshkov@siemens.com From: Glauber Costa move extern definitions to from cpu-all.h to kqemu.h. Just a step to increase kqemu's degree of separation. Signed-off-by: Glauber Costa --- cpu-all.h | 5 ----- kqemu.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index cdd79bc..0150827 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -1077,14 +1077,9 @@ static inline int64_t profile_getclock(void) return cpu_get_real_ticks(); } -extern int64_t kqemu_time, kqemu_time_start; extern int64_t qemu_time, qemu_time_start; extern int64_t tlb_flush_time; -extern int64_t kqemu_exec_count; extern int64_t dev_time; -extern int64_t kqemu_ret_int_count; -extern int64_t kqemu_ret_excp_count; -extern int64_t kqemu_ret_intr_count; #endif #endif /* CPU_ALL_H */ diff --git a/kqemu.h b/kqemu.h index ed25c75..1c7e024 100644 --- a/kqemu.h +++ b/kqemu.h @@ -32,6 +32,12 @@ #define KQEMU_VERSION 0x010400 +extern int64_t kqemu_time, kqemu_time_start; +extern int64_t kqemu_exec_count; +extern int64_t kqemu_ret_int_count; +extern int64_t kqemu_ret_excp_count; +extern int64_t kqemu_ret_intr_count; + struct kqemu_segment_cache { uint16_t selector; uint16_t padding1; -- 1.5.5.1