From nobody Tue Nov 4 13:11:26 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1504133669284783.4869333119319; Wed, 30 Aug 2017 15:54:29 -0700 (PDT) Received: from localhost ([::1]:53108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnBsR-0004MD-9d for importer@patchew.org; Wed, 30 Aug 2017 18:54:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnBqk-0003LM-80 for qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnBqj-0002DF-DV for qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:42 -0400 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:34288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnBqj-0002DA-97 for qemu-devel@nongnu.org; Wed, 30 Aug 2017 18:52:41 -0400 Received: by mail-qt0-x241.google.com with SMTP id v20so947761qtg.1 for ; Wed, 30 Aug 2017 15:52:41 -0700 (PDT) Received: from yoga.offpageads.com ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id 54sm4449874qts.31.2017.08.30.15.52.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 15:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BU6yiW3YboVU9Vl89usNIRj6zVhejZfkvwh9uq4aWV4=; b=GEHzsBzoFS9Srg2j051MkN4wFtcZUmKX2qdk8H9aGCuH5aq6iFQO4PC2mVTtVfLcoG XEc6G3rewkjYl45NzvhE9e7qETKvJjV0qXhR704e9WtLu/M3+Vw5bGn3FAcn392pi3ab 0dSuxex4hf3i0W5wmEKPeX15MTbmHparilK9vHpkSsr458zj2uaWRARHukpam1bEUmfm E+eEpD5EcKT/kCS3/S+TmxGvVt8naZ0ctKQIt07vq9AZDn0k9Y13DcOACcjaMBvwHtYV KZL6ZvUMVxS035yMNeH/e6Dw6FabnjaR1pB0uNmWckoSHPDd2YOWqCmjK817wS4X+5CP NWXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BU6yiW3YboVU9Vl89usNIRj6zVhejZfkvwh9uq4aWV4=; b=SmQyukgrfGK7+Z8096pY9oMpapbzfZGfeU6OgUEECY4cxgo36LDuOWwO2MFjdAh+cA Oe9rDqMS3PqfFyGKfpnViqWE8sep21IFD8UWKSBZnrMvcaODGqeO34G0faGo1Abxqo7R hlDOgnalc9ovsXxUfhN0GDM2nt4uZx/P4Sn+LzlD+NjU1L9l/qN0vFzWGRZc55w3cE0n N8p3Qaf4872FBWmqX7o4/pZSatd5XvkSG5QQCzBHf30OBWH9aD8LTZS/GtmIrvZprmyz ZjAKsdy5VzE5iQcYtvfwJTx3RFN4n6mGjGh/HcpCf5rLTmkyFDBJ+msAyiWqgO+Nk6Aq jXxQ== X-Gm-Message-State: AHYfb5hinFNUvjh/Sgj9ZWGTH4xDZCjMikwv+bc+nw+7mIPTVVnfMUHe 6WbEy+ene5v08w== X-Received: by 10.200.37.147 with SMTP id e19mr4560993qte.86.1504133560598; Wed, 30 Aug 2017 15:52:40 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Igor Mammedov , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aurelien Jarno , Eduardo Habkost , Marcel Apfelbaum , James Hogan , Yongbok Kim Date: Wed, 30 Aug 2017 19:52:19 -0300 Message-Id: <20170830225225.27925-2-f4bug@amsat.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170830225225.27925-1-f4bug@amsat.org> References: <20170830225225.27925-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 Subject: [Qemu-devel] [PATCH v2 1/7] mips: move hw/mips/cputimer.c to target/mips/ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This timer is a required part of the MIPS32/MIPS64 System Control coprocess= or (CP0). Moving it with the other architecture related files will allow an op= aque use of CPUMIPSState* in the next commit (introduce "internal.h"). also remove it from 'user' targets, remove an unnecessary include. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Igor Mammedov Tested-by: James Hogan --- hw/mips/cputimer.c =3D> target/mips/cp0_timer.c | 1 - hw/mips/Makefile.objs | 2 +- target/mips/Makefile.objs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename hw/mips/cputimer.c =3D> target/mips/cp0_timer.c (99%) diff --git a/hw/mips/cputimer.c b/target/mips/cp0_timer.c similarity index 99% rename from hw/mips/cputimer.c rename to target/mips/cp0_timer.c index 8a166b3ea7..a9a58c5604 100644 --- a/hw/mips/cputimer.c +++ b/target/mips/cp0_timer.c @@ -21,7 +21,6 @@ */ =20 #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/mips/cpudevs.h" #include "qemu/timer.h" #include "sysemu/kvm.h" diff --git a/hw/mips/Makefile.objs b/hw/mips/Makefile.objs index 48cd2ef50e..17a311aaba 100644 --- a/hw/mips/Makefile.objs +++ b/hw/mips/Makefile.objs @@ -1,5 +1,5 @@ obj-y +=3D mips_r4k.o mips_malta.o mips_mipssim.o -obj-y +=3D addr.o cputimer.o mips_int.o +obj-y +=3D addr.o mips_int.o obj-$(CONFIG_JAZZ) +=3D mips_jazz.o obj-$(CONFIG_FULONG) +=3D mips_fulong2e.o obj-y +=3D gt64xxx_pci.o diff --git a/target/mips/Makefile.objs b/target/mips/Makefile.objs index bc5ed8511f..651f36f517 100644 --- a/target/mips/Makefile.objs +++ b/target/mips/Makefile.objs @@ -1,4 +1,4 @@ obj-y +=3D translate.o dsp_helper.o op_helper.o lmi_helper.o helper.o cpu.o obj-y +=3D gdbstub.o msa_helper.o mips-semi.o -obj-$(CONFIG_SOFTMMU) +=3D machine.o +obj-$(CONFIG_SOFTMMU) +=3D machine.o cp0_timer.o obj-$(CONFIG_KVM) +=3D kvm.o --=20 2.14.1