From patchwork Sat Dec 8 00:46:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10719049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9861A13BF for ; Sat, 8 Dec 2018 00:51:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8805F2DE84 for ; Sat, 8 Dec 2018 00:51:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BCFE2DEC5; Sat, 8 Dec 2018 00:51:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DC0262DE84 for ; Sat, 8 Dec 2018 00:51:11 +0000 (UTC) Received: from localhost ([::1]:48529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVQpr-0004ty-3N for patchwork-qemu-devel@patchwork.kernel.org; Fri, 07 Dec 2018 19:51:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVQlZ-0007vp-5I for qemu-devel@nongnu.org; Fri, 07 Dec 2018 19:46:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVQlR-0000Pl-IJ for qemu-devel@nongnu.org; Fri, 07 Dec 2018 19:46:43 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:38100) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVQlP-0000Ov-My; Fri, 07 Dec 2018 19:46:37 -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=1544230017; x=1575766017; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=KmIeavw+WzzhQnc7gykgb3xdcOCNu2+aNpQMFu8X2Zo=; b=cAzxQH+lhhCkCITPp+CUjG+ANX0q5W87gfpdINI+Wb8CZowdoqrlSh9Q VnfGOJgmIefo/DaxrHVWDxg6Tshh+6OCIMUHxug+fAc55ki18zB2kPFzC qZCkqxaQtY96E45D+fiT81nw3Ge86aI6g8aGmYAX1Hy/WOfl7ya98tTyt ZBXsNGXJtHdglyym/ihYr5CuyDzAVu19GauDjZqlBKrsI7gEa17qgenp0 QAHopXDzDD2YPYlp89wS4E7/n6ANxB4vPfeUZRSGKPUQasSu5jBwjk3H6 KUieMqiGwRcu/Dsw4cHzqWPYR127zwMYm9cdisnx0sZAypgBpfLIGRdRF w==; X-IronPort-AV: E=Sophos;i="5.56,328,1539619200"; d="scan'208";a="194003367" Received: from mail-sn1nam04lp2057.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([104.47.44.57]) by ob1.hgst.iphmx.com with ESMTP; 08 Dec 2018 08:46:51 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cS9GC/urPKyPsRwTfJuex0tnc9ZTAcu5Q/OUjpNXaFM=; b=Y/Iha35xmf6/y86pGRTcuzn4GnCKjqdbg2djcC2yskTDuY9FqQWkAD9w9c1AFnOqg4Pa9rAwUsEZpfVIk8HWuYnA5n3c2fBzgeTnVlcgAx1V2UBR5/fE1JhZ9bNOfYGPtxBWDYNbU/XgQ3VmCzMQx7JlqcGaBW6KqDW+bvUj7lE= Received: from MWHPR04MB0401.namprd04.prod.outlook.com (10.173.48.18) by MWHPR04MB3725.namprd04.prod.outlook.com (10.172.169.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.18; Sat, 8 Dec 2018 00:46:30 +0000 Received: from MWHPR04MB0401.namprd04.prod.outlook.com ([fe80::d13d:19d3:fc93:2ec5]) by MWHPR04MB0401.namprd04.prod.outlook.com ([fe80::d13d:19d3:fc93:2ec5%9]) with mapi id 15.20.1404.021; Sat, 8 Dec 2018 00:46:30 +0000 From: Alistair Francis To: "qemu-devel@nongnu.org" , "qemu-riscv@nongnu.org" Thread-Topic: [RFC v3 02/24] linux-user: Add host dependency for RISC-V 32-bit Thread-Index: AQHUjo91WyTE70TEy0OqqcyGT3C5wg== Date: Sat, 8 Dec 2018 00:46:29 +0000 Message-ID: <9ae621e26a7a880b33c33cdaa0856a81b20cdc94.1544229872.git.alistair.francis@wdc.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.19.1 x-clientproxiedby: BYAPR04CA0030.namprd04.prod.outlook.com (2603:10b6:a03:40::43) To MWHPR04MB0401.namprd04.prod.outlook.com (2603:10b6:300:70::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alistair.Francis@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [199.255.44.250] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR04MB3725; 6:RI/AceEiqz29sOGOW9QKJCI0fGu7uyEeC0U6BHxV7pgOaWd7KyCPqs7MY3QeY/B9WJDqXgkwnVePZG/OmJrHbK14APDE3EJ/6fm1VOF68HINfIRuPFGhdxzaN5wr4CSNxl11OxHZJ+P2nS73QcvwVEk8KT+Ks2C+eUU2qi+VncVfbeusejnJTsLFLMx6NGO2lh/t/ckHz7E07ISM1Nw9dKTQjCMBruArJ2ucYnLgPoCFUJ37D/awW/kL17a95M3WnbTxAWRkb2K9utZbrAOPMVRKnCDmR1vGaGihfHecp85gFvMh9MZ6g2odd0GPjH2ssfNc9hzsTPZd1SgepYG7CubF4KSqwWfzpBfT4xm++Owuw1Gc0fywyihmQ4yTf8b0vcXR5CwPjSMURzcdewFLAi9mtAM+F7ATAa7qJ9WKa9Du1ao0BZCZAgJ34sGIbNYX+XxKWN6h2klCeMDrsn+p7Q==; 5:LjjztTlKRwhZpoztSjbf8Z/eFvGDLpo0Xx5Njya6MrlCVLozRlTlR0wd2Q/xWZWCdHTFfaFTSUDhWiVwqGkoJlP5fXGrBJV0JvHI4mfXneIQUazU7dxJwCIadUOiQsxDwcf+wdFvIv7WEO9/wJYKTFbJbiF1Ksssj12KF0yonFk=; 7:alMRgV05hMfC5vpKhQzaoKzZhMxqX3FISRYcOvrkJ8VGmIc58vPHIjDJIq6aGsqNMEFyZ0iLI7iTOJOCwsY1m2H8HddaeayEdMPygmwQXlB8V8H6PXmwDjqOj9Y+o46wtBC86SHNyMBQkA0YwcNshw== x-ms-office365-filtering-correlation-id: ac99fdd4-f81f-4706-1689-08d65ca6979e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:MWHPR04MB3725; x-ms-traffictypediagnostic: MWHPR04MB3725: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:MWHPR04MB3725; BCL:0; PCL:0; RULEID:; SRVR:MWHPR04MB3725; x-forefront-prvs: 0880FB6EC1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(346002)(136003)(39860400002)(396003)(189003)(199004)(68736007)(476003)(53936002)(71200400001)(8676002)(71190400001)(11346002)(44832011)(446003)(2616005)(106356001)(486006)(4326008)(66066001)(6512007)(39060400002)(5660300001)(86362001)(81156014)(118296001)(81166006)(386003)(2906002)(8936002)(6506007)(14454004)(99286004)(3846002)(52116002)(478600001)(6116002)(25786009)(72206003)(305945005)(97736004)(6436002)(6486002)(76176011)(26005)(7736002)(186003)(36756003)(110136005)(105586002)(2501003)(50226002)(102836004)(54906003)(316002)(256004); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR04MB3725; H:MWHPR04MB0401.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-microsoft-antispam-message-info: 2VYhpQ/WZSg6rOGsytqTO+7flJcjNSXqYi3xmKNZ/UT8vt0FhaoylmDWAFxAC7An7qEg5OLvkOwD7xPavoHdHkpNcopwzULn4yU9+OaGCfzFuep3xZ9uNYt7DGTMDQtb60dzFDbCi0s+WSVQBPUrSfwaw2XKpKJ4xkprqYY9RtRStwajyxR6plEsd3/FqKegRRzgXJYOYPpE1+rugrfoqG3LMvF+2viCbb54q2OJ3jAnsBZ9PfvEMBniSEG/mDsjpsMHu0BIEAGPjWK8k7PjUxjCRweqUkjmllaWZKitLBtEzHGzl2KX8dJU7Px+K6W2jVoCfxViKVKjz7fy2YG+uVYDmwI/tjWSc4u41ceA9Z0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac99fdd4-f81f-4706-1689-08d65ca6979e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2018 00:46:29.9932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB3725 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 68.232.143.124 Subject: [Qemu-devel] [RFC v3 02/24] linux-user: Add host dependency for RISC-V 32-bit 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: "alistair23@gmail.com" , "richard.henderson@linaro.org" , Alistair Francis Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alistair Francis Signed-off-by: Michael Clark Reviewed-by: Richard Henderson --- MAINTAINERS | 1 + linux-user/host/riscv32/hostdep.h | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 linux-user/host/riscv32/hostdep.h diff --git a/MAINTAINERS b/MAINTAINERS index 63effdc473..97071bcdf4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -262,6 +262,7 @@ S: Maintained F: target/riscv/ F: hw/riscv/ F: include/hw/riscv/ +F: linux-user/host/riscv32/ F: disas/riscv.c S390 diff --git a/linux-user/host/riscv32/hostdep.h b/linux-user/host/riscv32/hostdep.h new file mode 100644 index 0000000000..adf9edbf2d --- /dev/null +++ b/linux-user/host/riscv32/hostdep.h @@ -0,0 +1,11 @@ +/* + * hostdep.h : things which are dependent on the host architecture + * + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + */ + +#ifndef RISCV32_HOSTDEP_H +#define RISCV32_HOSTDEP_H + +#endif