From nobody Fri Apr 26 09:58:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) client-ip=209.85.221.46; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f46.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1618763555; cv=none; d=zohomail.com; s=zohoarc; b=eLdyfiWuOp/fC82PX7VOt7qnX2RSzh/PQ4sF0C1nNmPvEJG40grDuxViiw8Aa76XlbbuI4Tki5wUykHoEZr8EV9twfpLZC2WgVCaAuD2uaeT8rsrXYwBSVtLrZHcbepZrFX33fUrrlZo4G6ZKqOFzfr/v22lI1PgNYTaVH1LtgE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618763555; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=EC/YuwfoseOyvD144pVSztd6jw9F+XQHfnLXaltljyY=; b=Id9N8vgcrD/YOPed/9QrGhv8woVMpxb7VNebt8OAi35JjeK2iQDU6+MyALUJEyFAqZKy2WVDOrSS5n8m7FVtMMIJOqAPuInFWDl73cczzlhVUFfKfxeSc+qMwfVfZZHpwsBcCxqfJmnrDCz7gfcLE0roQWZazu2G5DgqxfwU4to= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.zohomail.com with SMTPS id 1618763555908762.7117959877882; Sun, 18 Apr 2021 09:32:35 -0700 (PDT) Received: by mail-wr1-f46.google.com with SMTP id h4so22460502wrt.12 for ; Sun, 18 Apr 2021 09:32:35 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id h1sm17129526wml.38.2021.04.18.09.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Apr 2021 09:32:33 -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=EC/YuwfoseOyvD144pVSztd6jw9F+XQHfnLXaltljyY=; b=ojM4zLgsLyyBcELXdMFX7K5CY/nKrnwfEfITnX9Cp5h7Mv/Zu7MqCztK7fTgVGEEBx eiKnTf2ernbhfZk/9arJj/4a2fCcFh6YJMwxD+K/QgVhdtmAreyZQu94/FTARbtDSp3G S3JdVnIaWo1ykb6eFdOziz0xpBD3XyUrraUmIBOp+ZRqDuel2elJoU83iAC94ZGQNRhp nV9TuJpJQvgEs/re6YuuqjcR+aExIAAYxLLFmuWEzSkCAZG8v7AXnUIQDp5aTrWPlRxf OfJcIfVCDHOY51SSJhFR5cUQVavrl5Zao7hLph+iPhvF85bXYcEakM8xy0yfEd8BkuBv 9drA== 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=EC/YuwfoseOyvD144pVSztd6jw9F+XQHfnLXaltljyY=; b=HywtDfE11idLnroSVMQ+uYLbDN8a3T8H1u2HrXtqhSp9Gys8KMH1lz0yWSv1M7TERM sNxApH4u58EazVOfqmao5Ku3MMgSEkkbMv+IioJ0xFXZ0QSOPdxDkVbeGNAC+blbXOFq SVmNfWp1GnH6UxxGxtHSNE/SCwMtfVIVDPKmiP6HEsnMbjdcWShC3TRrWihf8au/OLt7 QIZ9OChOXW4Dg1Z/ANbGFdpIy5UK9WQQbDiFzt0HBZdR7rn803FPP9axcJoOG2U/AEJR OsQqEmFfo6S0Xzz6Ipm0KmnNwEfbovhzGifHXYpjjSjnr3HGQ7vlkqRTB8o8uLQn+7Uj TiAg== X-Gm-Message-State: AOAM530TaApbyfCWJEh3d5NnVrIZ+wUgp5ioKRweuzLPi4tKg14dL/hW HJS6HVoFJJoL9f7VeDfUvIo= X-Google-Smtp-Source: ABdhPJxGsMQOavYk9oJdZyMP49sY3J+yA1uI0VACZulxGa00GWU0LlaKZWTlBw60I/II1bybEpvh5A== X-Received: by 2002:adf:fa4c:: with SMTP id y12mr9829399wrr.358.1618763553999; Sun, 18 Apr 2021 09:32:33 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Huacai Chen , Aleksandar Rikalo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jiaxun Yang , Richard Henderson , Aurelien Jarno Subject: [PATCH 12/26] target/mips: Move sysemu specific files under sysemu/ subfolder Date: Sun, 18 Apr 2021 18:31:20 +0200 Message-Id: <20210418163134.1133100-13-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210418163134.1133100-1-f4bug@amsat.org> References: <20210418163134.1133100-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Move sysemu-specific files under the new sysemu/ subfolder and adapt the Meson machinery. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/mips/{ =3D> sysemu}/addr.c | 0 target/mips/{ =3D> sysemu}/cp0_timer.c | 0 target/mips/{ =3D> sysemu}/machine.c | 0 target/mips/meson.build | 12 ++++++------ target/mips/sysemu/meson.build | 5 +++++ 5 files changed, 11 insertions(+), 6 deletions(-) rename target/mips/{ =3D> sysemu}/addr.c (100%) rename target/mips/{ =3D> sysemu}/cp0_timer.c (100%) rename target/mips/{ =3D> sysemu}/machine.c (100%) create mode 100644 target/mips/sysemu/meson.build diff --git a/target/mips/addr.c b/target/mips/sysemu/addr.c similarity index 100% rename from target/mips/addr.c rename to target/mips/sysemu/addr.c diff --git a/target/mips/cp0_timer.c b/target/mips/sysemu/cp0_timer.c similarity index 100% rename from target/mips/cp0_timer.c rename to target/mips/sysemu/cp0_timer.c diff --git a/target/mips/machine.c b/target/mips/sysemu/machine.c similarity index 100% rename from target/mips/machine.c rename to target/mips/sysemu/machine.c diff --git a/target/mips/meson.build b/target/mips/meson.build index ca3cc62cf7a..9a507937ece 100644 --- a/target/mips/meson.build +++ b/target/mips/meson.build @@ -7,6 +7,7 @@ ] =20 mips_user_ss =3D ss.source_set() +mips_softmmu_ss =3D ss.source_set() mips_ss =3D ss.source_set() mips_ss.add(files( 'cpu.c', @@ -14,6 +15,11 @@ 'gdbstub.c', 'msa.c', )) + +if have_system + subdir('sysemu') +endif + mips_tcg_ss =3D ss.source_set() mips_tcg_ss.add(gen) mips_tcg_ss.add(files( @@ -41,12 +47,6 @@ =20 mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c')) =20 -mips_softmmu_ss =3D ss.source_set() -mips_softmmu_ss.add(files( - 'addr.c', - 'cp0_timer.c', - 'machine.c', -)) mips_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files( 'cp0_helper.c', 'mips-semi.c', diff --git a/target/mips/sysemu/meson.build b/target/mips/sysemu/meson.build new file mode 100644 index 00000000000..f2a1ff46081 --- /dev/null +++ b/target/mips/sysemu/meson.build @@ -0,0 +1,5 @@ +mips_softmmu_ss.add(files( + 'addr.c', + 'cp0_timer.c', + 'machine.c', +)) --=20 2.26.3