From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02797C47DAF for ; Thu, 18 Jan 2024 20:08:35 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQYfY-0003W5-7n; Thu, 18 Jan 2024 15:07:20 -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 1rQYfW-0003Vc-GW for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:18 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYfU-0006wE-W6 for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:18 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e8f710d44so257995e9.3 for ; Thu, 18 Jan 2024 12:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608435; x=1706213235; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IqI4tMz2yzskRPvxs8gc/s3cCgtxYk3v0bTB1NWtJzM=; b=Zv/KyXAuEovv23X4w7KfY17iIwtapPIVUKkJRTwSgJq1pcJBx/2nEXpt9hc7AUzSez OY4D7eeMcP7+Ltmcf46iYolFYZw7CNdafe+QVTMNFT/5EKIwn/gMUXrh1NzobavYkkES SxTxadgEPWzCD4RC9ehyDAmsxxGdXNbKzNfcg/NHNSegzMLShhH+TDB22222rxgINPPh xUI7lceVMN3HQAVAN6ZMbmq0pVQym+lLRQyi0xgVaJr/JcV9DIxvfyXeVwxS/UfLkDw8 cPMCW0qf6ZNatj7YQvdWR3wb12loIehDi/n/M9WtOJTUboh/DVq6HkhzHvTdXrX5o2FX nUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608435; x=1706213235; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IqI4tMz2yzskRPvxs8gc/s3cCgtxYk3v0bTB1NWtJzM=; b=cED/c+jczl4H8uPXF6RDd8PJUSNmu8eRd8F4IeXLLOTCjBxGmkXffF6wUSGoygwHsW XjQ/yS8M+2rNLpwE0eD9B2YtkGyncBvHp1G9fxRDj9VM1570GMVDlY8hFqOt+B0Bm8Rl ge/SGvGj7ki06A2nJ3nr+RR4kv79jUcmp8uDuT9o985RLUzSeknlp/+NghltHaUrqGde xTrXDzyZNFhIU4zKFiodPrUTDsUzKy5CJ6GGoBVMaJJNxEnCCNqZXrGJEnwwc1OPqcr2 ApGilVfuSqWPDl2iqMkQzkF7tSSfeGl26wCOTg2HwGclSXbJPYsvys6hXxExwPZ0nnwO Brdw== X-Gm-Message-State: AOJu0YxFJ0OX+8sZpySzFVMtYkRb2NelzgscIfnr6xeMik6qtMiTUVql ZUyWKvwD3thNncgOgpEJfo4fa34BC6p4za462uGm2RqkxshdP4DWAjUPWN6kQqe10SxG/lfHCbP 7v6PvRCxS X-Google-Smtp-Source: AGHT+IEJjVKFjOhUte3h+FN6s3BlfHWp+z5dcQ4uANgPU3TjG5YMaIqdzX+BYpMSKDVsuoEyDNtojQ== X-Received: by 2002:a05:600c:22c6:b0:40d:88cb:ac7b with SMTP id 6-20020a05600c22c600b0040d88cbac7bmr786225wmg.183.1705608435599; Thu, 18 Jan 2024 12:07:15 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id o31-20020a05600c511f00b0040e703ad630sm18018088wms.22.2024.01.18.12.07.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:07:15 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , qemu-arm@nongnu.org, Strahinja Jankovic , "Edgar E. Iglesias" , Igor Mammedov , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Eric Auger , Niek Linnenbank , "Michael S. Tsirkin" , Jan Kiszka , Marcin Juszkiewicz , Alistair Francis , Radoslaw Biernacki , Andrew Jeffery , Andrey Smirnov , Rob Herring , Shannon Zhao , Tyrone Ting , Beniamino Galvani , Alexander Graf , Leif Lindholm , Ani Sinha , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Peter Maydell , Paolo Bonzini , Jean-Christophe Dubois , Joel Stanley , Hao Wu , kvm@vger.kernel.org Subject: [PATCH 05/20] target/arm/cpu-features: Include missing 'hw/registerfields.h' header Date: Thu, 18 Jan 2024 21:06:26 +0100 Message-ID: <20240118200643.29037-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240118200643.29037-1-philmd@linaro.org> References: <20240118200643.29037-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org target/arm/cpu-features.h uses the FIELD_EX32() macro defined in "hw/registerfields.h". Include it in order to avoid when refactoring unrelated headers: target/arm/cpu-features.h:44:12: error: call to undeclared function 'FIELD_EX32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return FIELD_EX32(id->id_isar0, ID_ISAR0, DIVIDE) != 0; ^ Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpu-features.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/arm/cpu-features.h b/target/arm/cpu-features.h index 7a590c824c..028795ff23 100644 --- a/target/arm/cpu-features.h +++ b/target/arm/cpu-features.h @@ -20,6 +20,8 @@ #ifndef TARGET_ARM_FEATURES_H #define TARGET_ARM_FEATURES_H +#include "hw/registerfields.h" + /* * Naming convention for isar_feature functions: * Functions which test 32-bit ID registers should have _aa32_ in -- 2.41.0