From patchwork Wed Dec 18 15:52:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 851704 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp996723wrq; Wed, 18 Dec 2024 07:54:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUupHKdEts8nVDbszOD5JeomXz6nhIvXYNj8oV0vQzHo+dzdiLDdmzGPBrk2R1HtzoQy8MZWg==@linaro.org X-Google-Smtp-Source: AGHT+IEMaaGD3YT48Wj/HrmQgQ6pBMKitYY1rKQFgva0EyoZeG04JW6h3qsJODVKiSyO3iVYh1/w X-Received: by 2002:a05:620a:40c2:b0:7b6:d241:3f0b with SMTP id af79cd13be357-7b8595d4475mr1285321185a.14.1734537242988; Wed, 18 Dec 2024 07:54:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734537242; cv=none; d=google.com; s=arc-20240605; b=WZpXzG0jWvt3gKxVbc4oU88xUR7rejUuWe85UM1yA2Ux5PkLQZNm5tQwIoU9mHX9pd FdXVtaOSqzP8+097PkObfr9wfTCd1sUWD3phUodWn39/NVOeT7QArWnLFbUQgKRa5UfZ 0ZoGkVrnCuLvGqR2cfCMBX4PrPwo+wsgBS/hn0XvAbPRfyv4ZVyu2qJ+2p1EQ1ked/Dj fnjS9k7QpjtkNMiTQM+eGEf5R513Ik+nW/yotYhCKQ2Rp5895/I4o63q8NsXNDB2ZrLY R2TMV5CZadtb5Hat6l++yTPuBo4PM7bkRhk4ne5bCS6Ob8fiRs4B9ixW0QSEUA/wRZkx bG2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:cc:to :from:dkim-signature; bh=43o9dEO1jQoTM4ynX/IY3hHbA9yVH/+x2ZTghLcMeMM=; fh=6k0MZVgfsXKcq8uDUDKqeWpuita9EVBGa5i3EnNNhIs=; b=aHJn/i4f8alHxq1USiId/iNLeDbAjxRXT8K200RXRYXAxf9leRruGoS2eZcPe5KJir INVVp+TEMDV5FDrEYEew7RIBXcFeu8pDHX8OIa8yTnUshx4sWz15/D8We3GlFWAw8An4 hVxqdA4JtQ0ZZ4puzJ6FBZ/8LmhB+W/84gJqy0uYLQJ60+Y4sc4fsOSMFI+kPc/d/6yK UAtY3VCDyMncS5ZMROsEivNuFLe9UH5XzBq+lZMGGCO5655G09Z0VNcD8wkeTI2ZelXx HPkO5Pm+DxXkvPqdTRx5y2MAEvfrecokoe5cGHtTn7UX4Miz0+oiWpqwcpqczZnAlIri +Jmw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=olHJO3Sx; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b7048e1f46si1302398785a.521.2024.12.18.07.54.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2024 07:54:02 -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=olHJO3Sx; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNwLc-0007WM-HL; Wed, 18 Dec 2024 10:52:28 -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 1tNwLa-0007VI-Ih for qemu-devel@nongnu.org; Wed, 18 Dec 2024 10:52:26 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNwLT-0006LC-Cb for qemu-devel@nongnu.org; Wed, 18 Dec 2024 10:52:25 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4363ae65100so43471445e9.0 for ; Wed, 18 Dec 2024 07:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734537133; x=1735141933; 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=43o9dEO1jQoTM4ynX/IY3hHbA9yVH/+x2ZTghLcMeMM=; b=olHJO3Sx/i01QdRhLt+HQLXs0JCTFBHlUp0nljMQAm1pRoI7dXLzVLW1TyfJTPDsKv 3dC5ihedAADI/9DKlV42cZEmmZqg4DbCZzNRKhm/oBaT9MeKe4d7L9oFdaZhRXwCYgnP kvudIVALvh7WE+qHIP5rnXACXGYXHQMm27Pt+nbRSTr/8scPq5PVzXZtV5ODxsvqaxXO t3n4jEdlyJqD7GXMIIytiTeHkc01TRoEplhjpokSASO/V9EhO4qL9Ee0Juhyoc40EGjX sfQW5Ll5hs+u1b4iM23HRtfMtKfAQAu45i2HDcEVlPeLUVceXNb7NRnEPcQ4Ctqlwhyd 9a9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734537133; x=1735141933; 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=43o9dEO1jQoTM4ynX/IY3hHbA9yVH/+x2ZTghLcMeMM=; b=fs0ET3ahrC47U5Oj3++hvgCrMUFjaaBLy+UmWgu4hrmTfxEMHh37xmUJsn4bgxzXRT fkVOJnDPFb/Uj8XHVkRhGp8cn90EkdtiuAe/S7PC72rhQ1t6tABLQvP7uSpOrabAztBj iaAwytfSNjGGAQTsb6+N5JENrLyU1H1Brlq9ll96PIoV0T6uvbvNW4Rh8kzNxi1POAD7 Vp1JLiUlx69Ix5/d4AuS9tXVOLePnWgO1Jh5JgxY7YNvckTybj1ikrrxtdClOpDto7r+ rLdZCf0LxRymgZf6W/axNSZb6Xf+BNIIuV+Kos4R9e8IO6vgEyBTzl3GJlp63/7aVHKC lVXQ== X-Gm-Message-State: AOJu0YxsTsdPxc6lLbb8I8XckgZos9lpVSGmQf5HrqiTUvKQVeFck0Nr xSstGev/PFMjJ5F1I8bplK3f//xawLpC3+lFDy0lLugYjoZcj8Hvw1zOAFqveaUpej3ICvDjiKd Q X-Gm-Gg: ASbGncvYOvlsempbvSsknJRt/AU370A0RYDbciTecXB33KKjnbVEQ+6sT/V/EU968KN /MMmTYS3yhKYC8cNEK52RhiXOomTodmfi3bbs2FC4RuaAq91SUacWsCYE0gfYcKmGYUZ7hhu6sz XCm5M0ipMQTTY/Tca79oitfsMUgrVLMUdvfOv/Mh/nSTR76nyBZs6Fkt7rMJ5LTM/jG2WtWgirC es5cvIhmCYoZRW+sgmHW/q1TCxe5XIJSAMVYa1J1EF6EFPgCFHBJe/gTDxU7mJsMa8vDA/Aa9DN SWEO X-Received: by 2002:a05:600c:468c:b0:431:542d:2599 with SMTP id 5b1f17b1804b1-436553ed055mr29615055e9.22.1734537133598; Wed, 18 Dec 2024 07:52:13 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43656afd57esm24251025e9.5.2024.12.18.07.52.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 18 Dec 2024 07:52:13 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-ppc@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH 2/4] tcg/tci: Include missing 'disas/dis-asm.h' header Date: Wed, 18 Dec 2024 16:52:00 +0100 Message-ID: <20241218155202.71931-3-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241218155202.71931-1-philmd@linaro.org> References: <20241218155202.71931-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 "disas/dis-asm.h" defines bfd_vma and disassemble_info, include it in order to avoid (when refactoring other headers): tcg/tci.c:1066:20: error: unknown type name 'bfd_vma' int print_insn_tci(bfd_vma addr, disassemble_info *info) ^ tcg/tci.c:1066:34: error: unknown type name 'disassemble_info' int print_insn_tci(bfd_vma addr, disassemble_info *info) ^ Signed-off-by: Philippe Mathieu-Daudé --- tcg/tci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/tci.c b/tcg/tci.c index 3afb2235285..3eb95e20b65 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -21,6 +21,7 @@ #include "tcg/tcg.h" #include "tcg/helper-info.h" #include "tcg/tcg-ldst.h" +#include "disas/dis-asm.h" #include