From nobody Sat May 18 04:13:32 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1588580286; cv=none; d=zohomail.com; s=zohoarc; b=LFYfBmGQ6Gn3iC5rZsnjWmCdrI4VMsDJsyQBdFFJ+nhlN31Pc3agO3uprZOhAjP5pPDJf5ry9x2epLd7LbNnfq+dp81WjIZc9dTZQAibl/PZuxLy9nCadYdFtMtkFLpKrjgCaboJ5F3L0ND0CH/kphS+U3cX9oj6Xx7Tfo50fh0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588580286; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GveMK/FOfLu+JK3BfCWLXw/TcwXbl1ACRiMVo4kAufk=; b=gy9eS2dfa3wEJ8A9gIlyiQ9xqOe1sKBCkr4NDysg1PgiYU7phyIZ242GIebZ8Dc5tzaqnFsRHFxZlGA1czSsddYQwHPd0taa6MQmlslqcpmteY1grLJuSWTQ7wgnJj7QbW89a31GdACeuMr6ztHF/R10UT4WYgsi0VxXLWMJ8zg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1588580286045476.27954340863414; Mon, 4 May 2020 01:18:06 -0700 (PDT) Received: from localhost ([::1]:33116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVWIe-0006oj-Hh for importer@patchew.org; Mon, 04 May 2020 04:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVWHb-00050g-9R; Mon, 04 May 2020 04:16:59 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:33913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVWHa-000113-Lh; Mon, 04 May 2020 04:16:59 -0400 Received: by mail-wm1-x341.google.com with SMTP id v4so14904378wme.1; Mon, 04 May 2020 01:16:57 -0700 (PDT) Received: from x1w.redhat.com (26.red-88-21-207.staticip.rima-tde.net. [88.21.207.26]) by smtp.gmail.com with ESMTPSA id r15sm5092972wrq.93.2020.05.04.01.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 01:16:56 -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=GveMK/FOfLu+JK3BfCWLXw/TcwXbl1ACRiMVo4kAufk=; b=c6oiI683Lc/iaCqO8DCw6bacQIb1LFvxsB5jHon4f/9XEacnaTvfecuO05U0tmK9c9 5gtuGe7Ia1+jzwmFUyt+uHiK+tc4/W/cbmxNxB37c5Z8ZS4YmweNZORoRWO1Bsc77ZC1 HoNDoPYvt/hUMgaQZHfU/rCHNL7Obv+Nm/prunlcfd4zwWi06q63uPfiPvAPAh3Suye6 +qyGq368V1p0FhT6XGCSWXfoDQeJZUCudTKIUsH8JsY7N0bZlLVLFNsnjIVPafZc4tU8 cfB1XM5wu0XAr2zTGlWJsY56brWr0D+Tx+frTC7R9Yxx/BAilusfjK+DW2q24tGIj+kR VjEQ== 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=GveMK/FOfLu+JK3BfCWLXw/TcwXbl1ACRiMVo4kAufk=; b=Puf/SeufjK1uYFmpx+MZG+7aSEsBdw1kvDTCkJkuLo2CEP0RAnhi2nY8WgWSeKbjrS VOdSImE8BgRdal+e4hOJLtvDzlygMJfFAwXeg1Visji/J+CPLhjno2tIHMFEbE6EqYCd YcpWaUWTs+rXo5jq4ZkZVJ2jKco/YbKw75EI5E7nzTa5TZNaK/+pb6dD3Wvya/n9yABM CmDciFf0we/FI08YS8I6BHcTGJJ6xqEiaTKEiB9dkw3hBwyhAVKejcLAMtSTSVOVMStV 8s9Zfs8Gala7f18S6Kb9lOkTv775mcGChUBdT2eWbh5iikcsmaEzJrsJncmamozY2JSR qLHA== X-Gm-Message-State: AGi0PuZr5ms8OD9+ukMIDcBZco+NKZrzRgys0R2M4R9y3JjOn4gMli5J szcaK2M+O01ULdZup4G2Sxyami+7 X-Google-Smtp-Source: APiQypIplVu2uSzA0Hedb8XYQ7x6qDN6xjb5iqUbWM64qWvdNrxZp7FR4Ey/lPIpRfHApO+g2rdK9A== X-Received: by 2002:a1c:4c10:: with SMTP id z16mr13358806wmf.77.1588580216863; Mon, 04 May 2020 01:16:56 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 1/3] hw/sh4: Use MemoryRegion typedef Date: Mon, 4 May 2020 10:16:51 +0200 Message-Id: <20200504081653.14841-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200504081653.14841-1-f4bug@amsat.org> References: <20200504081653.14841-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Michael Tokarev , Magnus Damm , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Use the MemoryRegion type defined in "qemu/typedefs.h", to keep the repository style consistent. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- include/hw/sh4/sh.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h index 767a2df7e2..fe773cb01d 100644 --- a/include/hw/sh4/sh.h +++ b/include/hw/sh4/sh.h @@ -10,9 +10,8 @@ =20 /* sh7750.c */ struct SH7750State; -struct MemoryRegion; =20 -struct SH7750State *sh7750_init(SuperHCPU *cpu, struct MemoryRegion *sysme= m); +struct SH7750State *sh7750_init(SuperHCPU *cpu, MemoryRegion *sysmem); =20 typedef struct { /* The callback will be triggered if any of the designated lines chang= e */ @@ -32,7 +31,7 @@ int sh7750_register_io_device(struct SH7750State *s, #define TMU012_FEAT_TOCR (1 << 0) #define TMU012_FEAT_3CHAN (1 << 1) #define TMU012_FEAT_EXTCLK (1 << 2) -void tmu012_init(struct MemoryRegion *sysmem, hwaddr base, +void tmu012_init(MemoryRegion *sysmem, hwaddr base, int feat, uint32_t freq, qemu_irq ch0_irq, qemu_irq ch1_irq, qemu_irq ch2_irq0, qemu_irq ch2_irq1); --=20 2.21.3 From nobody Sat May 18 04:13:32 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1588580287; cv=none; d=zohomail.com; s=zohoarc; b=W0tofgjpin1849tFeoaQSGSjmFo0FptTqEBD8iyfw4PurSehMf8iqDEuYwifA+0b21koC1dc8SzgN8kNdFUmEovGNzoOpi9aw1f+zVktelHENgBFvxsefzRzi7/hvJPKxf+FaHiyp8QZEYZmqScmtTVHL20rJSx5fJdIrxpaxTs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588580287; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5x8st00/MzLE0YV0JAp/GCPo+aI2S6Yj3DKTaVpNH5k=; b=mJ0p0/fS7mEb0pp/lXWQJlaIwcrh6zRhp6/KpI5besh8+4NThrf3qvypZkyM6ZkXYctUiTZ/hSm2FB9qkzDt5XqHISKNfIvCqzdV/0kWSOlygL5uuYCib4cyschk/OGniG6iJSPCYBqLGpN8x/uRFHsHvZ3PisARox8GJu4fJqc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1588580287322675.4346747859473; Mon, 4 May 2020 01:18:07 -0700 (PDT) Received: from localhost ([::1]:33216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVWIg-0006r9-08 for importer@patchew.org; Mon, 04 May 2020 04:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVWHc-00050z-IU; Mon, 04 May 2020 04:17:00 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:54528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVWHb-000146-T8; Mon, 04 May 2020 04:17:00 -0400 Received: by mail-wm1-x342.google.com with SMTP id h4so7395035wmb.4; Mon, 04 May 2020 01:16:59 -0700 (PDT) Received: from x1w.redhat.com (26.red-88-21-207.staticip.rima-tde.net. [88.21.207.26]) by smtp.gmail.com with ESMTPSA id r15sm5092972wrq.93.2020.05.04.01.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 01:16:57 -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=5x8st00/MzLE0YV0JAp/GCPo+aI2S6Yj3DKTaVpNH5k=; b=H8yPSlBFCdxBpLisY/w2FtvP06U+7GGko8ObOc30anqUiKLN18zSMOL3hql4ZMcjSH UmuOzQclzqI0S5KnddHScm+iDVrINlZTpURQnklC6UlZzU9yGpWBamyFH6/QAZAK49U4 j0fWoCkjWzkqfh7z/xiMzoEJHvt+vIOHC7ONBeNfEiEbtvSZw67jfB5gX49yUjb0EVnx u+hBho/PRmXpN+ZGGV2QGvgFVQV82s6NPfwN2VG3/2DZD2olQxmhu9+OEonozYNENIID 043y2VVTPq84Xd8RSJ5qH0jkzvmGfaPmIgMo0ILBPdECFza3N5hW0ahPzIzn+ngQGIDs fufQ== 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=5x8st00/MzLE0YV0JAp/GCPo+aI2S6Yj3DKTaVpNH5k=; b=WMP0WAzanBO2hxGZNK+u4BP0OmDlvyyYx9LbZdVRNuOycULsmUrOaIpY5FjOPEi/8o nBCzeLvv4CNaVF/6njO1vsRVokv1LIJ0wNuDzSpBfc4RftL+6L11ZZwo/uZc37UX/jPb xdpN6Ycqb1UcX190cZTCyc/sYDT9VrlQD5qAYhMkj87Kk/HxIRbnRcPOLQ/kyE9wT94r kvdoutDkTRztFul3qy5QrwCLvgfHiy4rR8kXLRFTLWDzdSuI4/ZR+VB2RiL3MPj1YBcA 23VBIgF+XcfcP+vmAzUrN/QKKYuVhCex1h4dInSW6cT0CBM5HjWY4cIoOuTsnLPlpYIC kjrA== X-Gm-Message-State: AGi0Pua9vx99PtMOgkpt08MQRlB+hdtrs4ux6leAmuG2QwQIPza7W/GK FG4zGrEpjaCmFXsA4d04mZz6f2gD X-Google-Smtp-Source: APiQypJlYkaB+D3dHB6WKLZs94PNSI7zC7evZa6RBPm7/jSqOU+snmVJ0Gm7lcXHTAt5bqlflJF6nw== X-Received: by 2002:a1c:dc55:: with SMTP id t82mr14152120wmg.12.1588580218105; Mon, 04 May 2020 01:16:58 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 2/3] hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h' Date: Mon, 4 May 2020 10:16:52 +0200 Message-Id: <20200504081653.14841-3-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200504081653.14841-1-f4bug@amsat.org> References: <20200504081653.14841-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Michael Tokarev , Magnus Damm , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Extract timer definitions to 'hw/timer/tmu012.h'. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- include/hw/sh4/sh.h | 9 --------- include/hw/timer/tmu012.h | 23 +++++++++++++++++++++++ hw/sh4/sh7750.c | 1 + hw/timer/sh_timer.c | 2 ++ 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 include/hw/timer/tmu012.h diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h index fe773cb01d..93f464bf4c 100644 --- a/include/hw/sh4/sh.h +++ b/include/hw/sh4/sh.h @@ -27,15 +27,6 @@ typedef struct { =20 int sh7750_register_io_device(struct SH7750State *s, sh7750_io_device * device); -/* sh_timer.c */ -#define TMU012_FEAT_TOCR (1 << 0) -#define TMU012_FEAT_3CHAN (1 << 1) -#define TMU012_FEAT_EXTCLK (1 << 2) -void tmu012_init(MemoryRegion *sysmem, hwaddr base, - int feat, uint32_t freq, - qemu_irq ch0_irq, qemu_irq ch1_irq, - qemu_irq ch2_irq0, qemu_irq ch2_irq1); - =20 /* sh_serial.c */ #define SH_SERIAL_FEAT_SCIF (1 << 0) diff --git a/include/hw/timer/tmu012.h b/include/hw/timer/tmu012.h new file mode 100644 index 0000000000..808ed8de1d --- /dev/null +++ b/include/hw/timer/tmu012.h @@ -0,0 +1,23 @@ +/* + * SuperH Timer + * + * Copyright (c) 2007 Magnus Damm + * + * This code is licensed under the GPL. + */ + +#ifndef HW_TIMER_TMU012_H +#define HW_TIMER_TMU012_H + +#include "exec/hwaddr.h" + +#define TMU012_FEAT_TOCR (1 << 0) +#define TMU012_FEAT_3CHAN (1 << 1) +#define TMU012_FEAT_EXTCLK (1 << 2) + +void tmu012_init(MemoryRegion *sysmem, hwaddr base, + int feat, uint32_t freq, + qemu_irq ch0_irq, qemu_irq ch1_irq, + qemu_irq ch2_irq0, qemu_irq ch2_irq1); + +#endif diff --git a/hw/sh4/sh7750.c b/hw/sh4/sh7750.c index d660714443..f8ac3ec6e3 100644 --- a/hw/sh4/sh7750.c +++ b/hw/sh4/sh7750.c @@ -30,6 +30,7 @@ #include "sh7750_regs.h" #include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" +#include "hw/timer/tmu012.h" #include "cpu.h" #include "exec/exec-all.h" =20 diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c index 13c4051808..b9cbacf5d0 100644 --- a/hw/timer/sh_timer.c +++ b/hw/timer/sh_timer.c @@ -9,10 +9,12 @@ */ =20 #include "qemu/osdep.h" +#include "exec/memory.h" #include "hw/hw.h" #include "hw/irq.h" #include "hw/sh4/sh.h" #include "qemu/timer.h" +#include "hw/timer/tmu012.h" #include "hw/ptimer.h" =20 //#define DEBUG_TIMER --=20 2.21.3 From nobody Sat May 18 04:13:32 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1588580399; cv=none; d=zohomail.com; s=zohoarc; b=aOQraRUhAz63aW8zMn5JSkaorDvBE/7TcYBZ2bg2z3TBoiORH6YMwIIp99LlcFFRph0uLXYb7Hp+oOVJ3CwsSnPZ1+JUQHnUBNfg4ZVfdgzrGbaJ/2pWn96ppNv62MjwTs2qarSAFmwSeJ5s2lUgtnHKVFuosUu23q8wykfl35g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588580399; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Pht5510wvKig/cpcPTVMYbHY0XEJUROzYxKvYncwZ+0=; b=eRzoqa1xLZWloPPD5bUhCYaRReIm1oCBlZ4gxmlmMY2yvix6BC1Gaq2cghyTcKGT5NW4yMiYKsKmdjoOfZf7ngks+BP/wwz6GkLHgb/JIoSZBs9sfH1MR8wFR8dyiU+iUB5GWuRzW9Tm5XLsVwwKMZCWKvB6hSo0JwWUAEO4JFY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 158858039905895.87660585713809; Mon, 4 May 2020 01:19:59 -0700 (PDT) Received: from localhost ([::1]:40390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVWKT-0001OR-Q2 for importer@patchew.org; Mon, 04 May 2020 04:19:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVWHd-000532-RU; Mon, 04 May 2020 04:17:01 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:36340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVWHd-00015H-56; Mon, 04 May 2020 04:17:01 -0400 Received: by mail-wr1-x443.google.com with SMTP id d15so19804314wrx.3; Mon, 04 May 2020 01:17:00 -0700 (PDT) Received: from x1w.redhat.com (26.red-88-21-207.staticip.rima-tde.net. [88.21.207.26]) by smtp.gmail.com with ESMTPSA id r15sm5092972wrq.93.2020.05.04.01.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 01:16:58 -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=Pht5510wvKig/cpcPTVMYbHY0XEJUROzYxKvYncwZ+0=; b=YGbmdYagToq5O7iGMoj/hDlzEq2kyBrlJmp9EbnYx3+xtmXn2qWXXwx8He+sQCZUH3 wbWCUgwUimX2gUaOtraqCIkqI2EVnGdL3Diz/uRig7FngebUXTijATXQaHXSQebBJ/fI h2fxvfABH88OICcBElwpNSHxnESZSv5yf1uhK7+WbzL53U2/9X+A5UwRBcWP+WPLmZP2 eIwp8O6LgCAWyOtINpsAE/OOCCMa1sC7CXiPwBdzrkOXrMXnrbXfzVxVwbtnWz889vrc oC6qzjGihsxpuxtgzfZYgiOFC3BUVFvKR82u4/htxLfOfCiPfAAqqiGc0v8tHvIRvf0j QxXA== 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=Pht5510wvKig/cpcPTVMYbHY0XEJUROzYxKvYncwZ+0=; b=CFFrPpOMwdGMIaHqDypbciQdO3vNGb59xtoQLixa+UAMRSl909Tv/vjPwO6A9hdScV o8IY3aeUGweX2dxN56KvtdDrJS30KVVZ5OTdOLfsQUr5XWLUIMgYJpqVGceqY/QSo6vo RCPZzHkq3siuk5PaMw+MBPbaXWs5RFUk9WtklMxA+t+Mhb6O52Ha/JYSTUNL3lNx9hcZ G6vem4oQRQ36yR5sTecK9R7SanjvdnromyFz157VBdrX3BlZJ/rK74KQ8vDYSpHLk7IB 9ngLaxYfL2FmAr8Bi3zdQerrR6nApz41pEgCpuN5Y24FLHuxKvCbEbzmf6H3MRxYGJSA 7PuQ== X-Gm-Message-State: AGi0PuZzXS4TH3mPQNJUD2I8ilep9gjT49R53L6raOK1akOkI27p16u8 Hv3v46nchrD1RAtC28MXioFktgan X-Google-Smtp-Source: APiQypKMWzG8LaeDZxku7vK0lVQNHpfZWcSIq7VVW7pSNpbnGY+dNp/d4WkoKnYWGo/mMEGkNGEMvg== X-Received: by 2002:adf:d0ca:: with SMTP id z10mr19470085wrh.172.1588580219252; Mon, 04 May 2020 01:16:59 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 3/3] hw/timer/sh_timer: Remove unused 'qemu/timer.h' include Date: Mon, 4 May 2020 10:16:53 +0200 Message-Id: <20200504081653.14841-4-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200504081653.14841-1-f4bug@amsat.org> References: <20200504081653.14841-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Michael Tokarev , Magnus Damm , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Remove unused "qemu/timer.h" include. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- hw/timer/sh_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/timer/sh_timer.c b/hw/timer/sh_timer.c index b9cbacf5d0..bb0e1c8ee5 100644 --- a/hw/timer/sh_timer.c +++ b/hw/timer/sh_timer.c @@ -13,7 +13,6 @@ #include "hw/hw.h" #include "hw/irq.h" #include "hw/sh4/sh.h" -#include "qemu/timer.h" #include "hw/timer/tmu012.h" #include "hw/ptimer.h" =20 --=20 2.21.3