From nobody Sat Oct 25 08:57:49 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 1520370580336786.8653310820883; Tue, 6 Mar 2018 13:09:40 -0800 (PST) Received: from localhost ([::1]:58207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJq7-0001XA-El for importer@patchew.org; Tue, 06 Mar 2018 16:09:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etJTB-0006SC-Nf for qemu-devel@nongnu.org; Tue, 06 Mar 2018 15:46:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etJTA-0003XX-Qc for qemu-devel@nongnu.org; Tue, 06 Mar 2018 15:45:57 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:46297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etJTA-0003XP-KP for qemu-devel@nongnu.org; Tue, 06 Mar 2018 15:45:56 -0500 Received: by mail-pg0-x244.google.com with SMTP id r26so8748196pgv.13 for ; Tue, 06 Mar 2018 12:45:56 -0800 (PST) Received: from localhost.localdomain (125-237-39-90-fibre.bb.spark.co.nz. [125.237.39.90]) by smtp.gmail.com with ESMTPSA id y6sm39123791pfg.71.2018.03.06.12.45.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Mar 2018 12:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+f50rB0nfwLbNrBZoaTLo7IVI8PAhtJxiX2ebxLyAV0=; b=H2ji6pg2nfzdJQ+E43m6sbK6RHQ7psH+et2mgRV/rl+ywzTBV3E4bzJ4rNhycqMacb Eh5JsY3VrvuA4kwaliS5sDWus6EdNraGlYYpfGZZMg7hCSfFGI6CNB6sSFVD63TmisLd s6R6lS7XUc1ddxmRBoik91xCpVGsWO6qM/ZY28cGJb5W8+uYGpy9hB6KkwqXlI+nKudx K8QwAEyjvL8WAchIhZ+fnZSvcK4NSOZttatLT0UJqJdmgteGgOnhs4ETNXphd//r08iD +txPCuortat+KUumi+I24dYfd+m1RT2KTFuPwBHSWjhkiIAUid3rdvvseW+EurV8fHuR ZrqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+f50rB0nfwLbNrBZoaTLo7IVI8PAhtJxiX2ebxLyAV0=; b=YoaFWtN9YeUM0U3Gg3guuPEPLAU9gik0oHXu2RaTyQcqlhs2adb0DzZHi17wGhyLdx MBNdH2351IgVBgP1egIykq5mQUuW8ey5u7wfHUbPY4xzWvOhAOvRWoJwvHMn4TmZo5d1 VcOabtfHukMWaDMCv1074pLrwF0GUpAP5VOQX04mko3CFPS0q09JgUlSeJm7w8m8PFKU i/J9B2L+S40dQuMql7rnguDHkU3zYuYUaDyu3FRIGFKxGk7x7Z1gEJ3+oB4B6HhNxC7R A5HuChFawi2icbtncEMaZ1P5s7qm6Fum6N1i+AaQML1ZTki97MrKyDvoA+14NsTqZ/tA sPQg== X-Gm-Message-State: APf1xPBD1c/UkN6WASD96yHiTd+hVkxw3+V9BipYunITimJrFDwXX/FL bQ6TRDJUjPd1gPho47M0PAAHn1fhJRc= X-Google-Smtp-Source: AG47ELsjguCGVH/hIFklijKNB+p2o4I3dROYM0ZpBSNSxbFcj4g+BZ2MbxaTKil3io5xClp6cPXIsg== X-Received: by 10.99.122.70 with SMTP id j6mr14715991pgn.17.1520369155529; Tue, 06 Mar 2018 12:45:55 -0800 (PST) From: Michael Clark To: qemu-devel@nongnu.org Date: Wed, 7 Mar 2018 09:43:48 +1300 Message-Id: <1520369037-37977-14-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1520369037-37977-1-git-send-email-mjc@sifive.com> References: <1520369037-37977-1-git-send-email-mjc@sifive.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::244 Subject: [Qemu-devel] [PATCH v1 13/22] RISC-V: Make spike and virt header guards more 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: Bastian Koppelmann , Michael Clark , Palmer Dabbelt , Sagar Karandikar , RISC-V Patches specific 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 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Michael Clark Signed-off-by: Palmer Dabbelt --- include/hw/riscv/spike.h | 4 ++-- include/hw/riscv/virt.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/hw/riscv/spike.h b/include/hw/riscv/spike.h index 179b6cf..ed9d1db 100644 --- a/include/hw/riscv/spike.h +++ b/include/hw/riscv/spike.h @@ -16,8 +16,8 @@ * this program. If not, see . */ =20 -#ifndef HW_SPIKE_H -#define HW_SPIKE_H +#ifndef HW_RISCV_SPIKE_H +#define HW_RISCV_SPIKE_H =20 #define TYPE_RISCV_SPIKE_V1_09_1_BOARD "riscv.spike_v1_9_1" #define TYPE_RISCV_SPIKE_V1_10_0_BOARD "riscv.spike_v1_10" diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 9588909..d22f184 100644 --- a/include/hw/riscv/virt.h +++ b/include/hw/riscv/virt.h @@ -16,8 +16,8 @@ * this program. If not, see . */ =20 -#ifndef HW_VIRT_H -#define HW_VIRT_H +#ifndef HW_RISCV_VIRT_H +#define HW_RISCV_VIRT_H =20 typedef struct { RISCVHartArrayState soc; --=20 2.7.0