Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nAmol-0003xv-Uh for mharc-qemu-riscv@gnu.org; Fri, 21 Jan 2022 00:50:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAmoi-0003uB-PT for qemu-riscv@nongnu.org; Fri, 21 Jan 2022 00:50:33 -0500 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:3055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAmof-0002y2-Fg for qemu-riscv@nongnu.org; Fri, 21 Jan 2022 00:50:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1642744228; x=1674280228; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2fiKB7AiovahqdgGWdgGUtQNgpKwORZqUtPOp2735So=; b=C94mBw/O34tPN+3v7eC3gPVuFAuZR5O/Fklh7sCxDncPwt/yIOr0e3Bt 5A/Bqs0Q0w+O58RGwf+if6Wx4ETuv43OMRK7x5XI8gxlOG4OChjVLjXt2 3SGlbFWl02MJtgicq+Wc6LySdqVNBqjObOoDSJrXCqOBWWnAH5/gPlQFE oacHO7aJCM+TBgChDRCL+KfOid0wNFg/Ll/9OXm1OB/11p08hc/IalTmZ k96BgNCiREXFXQWOJZBtxjd07HdzJw7rIx276JjsyAF4bLGwKawx2szC3 QyTpzPqL7e0myjyfOSg0HqneF5D53Fh88kNDkcuBpAiEBtqroaPm+wqjf Q==; X-IronPort-AV: E=Sophos;i="5.88,304,1635177600"; d="scan'208";a="191016258" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 21 Jan 2022 13:50:23 +0800 IronPort-SDR: mWq/r2FxBfhJMYOO0pkp1JGqhn5hsXSvvd94G3DKJL7SPb25fR/+8YpNHGO9WKiQlt2nhQF1rv mhhxWrOiHhJLcYVbxxIcDsF2vepf+K9vRb/FCZfjLl8pUocGsaKziI+HbpjwD149WNpFoybHmi /WqRHZrvTqgZ0rJLTLmXA43c/YG7Zw22Mc82L6HZHv7gbV3i09F8SDCzMuRYFrHhqpIAmN3ZkG MmF57mf322VACpBphnl3NrRQJMg4OFoXK4jXJ0n+7KaLj4TDaRFHOotqBGpCYfzpzlKxSwoa0+ exT9y25zf9eeYXVzrJ+sefSY Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2022 21:22:36 -0800 IronPort-SDR: 1tRPV09Wo08VMByplEwn/B9g/9WtiOBFwhGGpSwhkiQ48q1zhp0JMzueW/qg6oJr6YTgcDIbPx 6+N/E6M3Yp//p2hIPANldNmsZTt5X+/YnmUdo/Uf3tynr/cwT0NxSmor4bN3M8l7ntajbNvf5+ GnsEpL5ZUsuEYM83vKBZaXQ0lrbcd4AD0i/FB0/8FQBTOzO6XyjKRvPWpYZSTeR51YullHNgXY UqlJ7M5NBPmvYDD+Jna1Er+uO4XVxGBDelY0NW/ZlhqRouBFVv2TSclgxPRt+eKVnabLZms2Zl LGc= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2022 21:50:25 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4Jg7l36VVxz1SVny for ; Thu, 20 Jan 2022 21:50:23 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:mime-version :x-mailer:message-id:date:subject:to:from; s=dkim; t=1642744222; x=1645336223; bh=2fiKB7AiovahqdgGWdgGUtQNgpKwORZqUtPOp2735So=; b= H3T2A3piOLvD2HrOjHUWbQ2wqv4HZdVvZSx54TE5t47mPB3lwVGN6bFDpyLRTR5r ptIlYkZzVZ3RF3RPJ1c82jHu3TnwZw+sz7P+JZeLaU8wBggkccPdhRHYLz2bEjWW XGj0VJFB9E36AiXcHDP4jMNUZ3GXFZ+K31lqLQ4dlmcqzaZKfiKC/RWLOoXdSeTF 3AVDszSOOVl3es2ftzy0sTVolBzFNAg5t27hd1z6pD6Jvyg2Et3nzmdWAwYu2TjS 3wcFmy0mfaoXfc8vQSMFoYxaOZ2R81AvLO8P3E8S4ZLlXeFEitv78SUc0vTzJA+n ke0QuDTeViuFYzQwTKNevA== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pUkBvm7IVPYf for ; Thu, 20 Jan 2022 21:50:22 -0800 (PST) Received: from toolbox.alistair23.me (unknown [10.225.165.80]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4Jg7ky5kv4z1RvlN; Thu, 20 Jan 2022 21:50:18 -0800 (PST) From: Alistair Francis To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: bmeng.cn@gmail.com, palmer@dabbelt.com, alistair.francis@wdc.com, alistair23@gmail.com, wilfred.mallawa@wdc.com Subject: [PATCH v1] include: hw: remove ibex_plic.h Date: Fri, 21 Jan 2022 15:50:05 +1000 Message-Id: <20220121055005.3159846-1-alistair.francis@opensource.wdc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=216.71.153.144; envelope-from=prvs=0135fdaf6=alistair.francis@opensource.wdc.com; helo=esa5.hgst.iphmx.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2022 05:50:33 -0000 From: Wilfred Mallawa This patch removes the left-over/unused `ibex_plic.h` file. Previously used by opentitan, which now follows the RISC-V standard and uses the SiFivePlicState. Fixes: 434e7e021 ("hw/intc: Remove the Ibex PLIC") Signed-off-by: Wilfred Mallawa --- include/hw/intc/ibex_plic.h | 67 ------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 include/hw/intc/ibex_plic.h diff --git a/include/hw/intc/ibex_plic.h b/include/hw/intc/ibex_plic.h deleted file mode 100644 index d596436e06..0000000000 --- a/include/hw/intc/ibex_plic.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * QEMU RISC-V lowRISC Ibex PLIC - * - * Copyright (c) 2020 Western Digital - * - * This program is free software; you can redistribute it and/or modify = it - * under the terms and conditions of the GNU General Public License, - * version 2 or later, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOU= T - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License= for - * more details. - * - * You should have received a copy of the GNU General Public License alo= ng with - * this program. If not, see . - */ - -#ifndef HW_IBEX_PLIC_H -#define HW_IBEX_PLIC_H - -#include "hw/sysbus.h" -#include "qom/object.h" - -#define TYPE_IBEX_PLIC "ibex-plic" -OBJECT_DECLARE_SIMPLE_TYPE(IbexPlicState, IBEX_PLIC) - -struct IbexPlicState { - /*< private >*/ - SysBusDevice parent_obj; - - /*< public >*/ - MemoryRegion mmio; - - uint32_t *pending; - uint32_t *hidden_pending; - uint32_t *claimed; - uint32_t *source; - uint32_t *priority; - uint32_t *enable; - uint32_t threshold; - uint32_t claim; - - /* config */ - uint32_t num_cpus; - uint32_t num_sources; - - uint32_t pending_base; - uint32_t pending_num; - - uint32_t source_base; - uint32_t source_num; - - uint32_t priority_base; - uint32_t priority_num; - - uint32_t enable_base; - uint32_t enable_num; - - uint32_t threshold_base; - - uint32_t claim_base; - - qemu_irq *external_irqs; -}; - -#endif /* HW_IBEX_PLIC_H */ --=20 2.34.1