From patchwork Fri Jan 26 14:33:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 766377 Delivered-To: patch@linaro.org Received: by 2002:adf:a314:0:b0:337:62d3:c6d5 with SMTP id c20csp268511wrb; Fri, 26 Jan 2024 06:39:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHg30mbQk21s+oRLgSvRUC5alZUBujUPyHMER3gswQ5C1pAHHwwR9DGVJojkFYKDRlMdAMX X-Received: by 2002:a05:620a:172a:b0:783:9b9d:43f with SMTP id az42-20020a05620a172a00b007839b9d043fmr1979468qkb.92.1706279953741; Fri, 26 Jan 2024 06:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706279953; cv=none; d=google.com; s=arc-20160816; b=g1ZqTmPXO7fF1Gs+VdRjfbb11zytN9tmtlF8nraLHT+uO6CsSxi4bdUEZzSfOzhzaC Mgb9nKK7lOqUWkgKDJBx4RHw+Bz0Nub2wZCZi4R+/YniUJPkl6355PyLpoe63i5hHzo3 sMSLltLir0sotk3sC/zCdODcqFc6pmGpfADjn++limbH9reMXyvcCsVB4fjZHtQrTW9i gnHvxR5UKYYDYDJFNXxgVpj64C9Tsf9HLvhBDzXkXeISqxxXsMIW9+CT11RMQbInJAwn XBc/CedSznDOOxTAX2nRnvW9KzohMk3/idOnf7XfwDeZcD0Y9gjZSh+xHIaUHtPTHOnE Zikw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=JzJ/7eGoWRxiuO78ttkuN8WfwtChGDxYPbjZXcNs7S0=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=lzIr3hb/UowbyJ20s7TiqfmT8mfbT5/GKuNiBGQlpzj9FKdh8p3gEmxi7q9Uprn1R1 5OyV/nLA+aDcCiHY61CL97nAThNnJPUwvKTCpJhbQLp8FHSkaqwBSvuitYyxisrmZztd JJq+foa41Hjuhavw6+o46+wW6aTip6fjd2+WoDiYyWZQaQ3haLiGfjvjsfg4XhvmNfOF Du2L4pkehxKSVw2ROLFkSKpkFxQpi6S8UQVf8L0zFtuht+Gcjvl34HqUFFoGfNrnGKpg d7rO6TTmL7N7ReWCmkXF+S816ZM5KdJBdbyrOQPh+CQyusa9/HgmHvv1i9VrHF7E9wyu 8FzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B0ACAv7f; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p19-20020a05620a22f300b00781214ba84bsi1386592qki.508.2024.01.26.06.39.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2024 06:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B0ACAv7f; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTNHE-0002Gm-NO; Fri, 26 Jan 2024 09:33:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTNHD-0002Ff-Pj for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:51 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTNHC-0007tU-2c for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:51 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-337d5480a6aso487966f8f.1 for ; Fri, 26 Jan 2024 06:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706279628; x=1706884428; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JzJ/7eGoWRxiuO78ttkuN8WfwtChGDxYPbjZXcNs7S0=; b=B0ACAv7fT12PNpCMol0VcOYaw+vLXgio5Ym1tZIexynC/5l4hEdfCa+NcSHU0oDilf hrKfDrwd76Pr2d0nEMarAEJFK3M0cgXrNGGuUiA6wMJCxK+FJzX1xz4fn9zVEzzUU6sT DUjV3DBgCeRNgfcMJWKk+Ycvst7xGr8ijH8xhm2OHrQ+N+oRxM3TYkBhD1ylBubj/HQ/ 3uraNNMcgiWsIC9IUcRuUzOuO78JiyS/Vb/awO+gf76b1J2k+7vv/u4G7fGpSy2Fn3V7 /9id/jQQev8jDOM/mIlUTY95npSQzRouZD9rMxuobDJqi0Q4MKUiUqsU7Ua+SB3gFOEn xMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706279628; x=1706884428; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JzJ/7eGoWRxiuO78ttkuN8WfwtChGDxYPbjZXcNs7S0=; b=GDhzP7Ez9anL/rzbZNLWwe5+u/rgpeZyzExUcyKshpWKK6T48OqcIQtyhCtAGx/xgm 5nmT8zUAPQKAZUQCvlFBK3pikrP/f5RS4u4LqPoMHiPiwq8yNoF9a+cfgEVoR0gkkp8y qlRHIz6Ke4l/XX/Q6EGJxv37IAv72WFW13sfBHExHiVrMpBA2Q6ThnNo6gsJAEyG2H6P kGYfJtXlfz+/mgm4gCMvYklCZEfQZfLVtUA2qZzB+aARkUw7VfRIpBkgYlqtCKHdPdzr XQeEa/EVN8WIdvP3AlOCj6oG+V3VfL6AVkbyJPHVryHG3TqU0KZD87fXe1ZsegFckZdx R+RA== X-Gm-Message-State: AOJu0Yw9aaImmhRAKBaeyqYD1cNw484Y7PpTfgDo1bD3tmf7Ux0T2ZdO BxgvVxsJeohxraJSfch7oR8OkUFjlbfzK1u0CqA7RlgiuCz+EBRvSyszoq+fXu4r+qN2NQE2LdU h X-Received: by 2002:a5d:60c6:0:b0:33a:de66:49f7 with SMTP id x6-20020a5d60c6000000b0033ade6649f7mr226593wrt.51.1706279628740; Fri, 26 Jan 2024 06:33:48 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n5-20020a5d4845000000b00337f722e5ccsm1396207wrs.65.2024.01.26.06.33.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:33:48 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 15/36] target/arm/cpregs: Include missing 'hw/registerfields.h' header Date: Fri, 26 Jan 2024 14:33:20 +0000 Message-Id: <20240126143341.2101237-16-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240126143341.2101237-1-peter.maydell@linaro.org> References: <20240126143341.2101237-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé target/arm/cpregs.h uses the FIELD() macro defined in "hw/registerfields.h". Include it in order to avoid when refactoring unrelated headers: target/arm/cpregs.h:347:30: error: expected identifier FIELD(HFGRTR_EL2, AFSR0_EL1, 0, 1) ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20240118200643.29037-7-philmd@linaro.org Signed-off-by: Peter Maydell --- target/arm/cpregs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h index b6fdd0f3eb4..ca2d6006ceb 100644 --- a/target/arm/cpregs.h +++ b/target/arm/cpregs.h @@ -21,6 +21,8 @@ #ifndef TARGET_ARM_CPREGS_H #define TARGET_ARM_CPREGS_H +#include "hw/registerfields.h" + /* * ARMCPRegInfo type field bits: */