From nobody Tue Feb 10 14:31:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1579887792; cv=none; d=zohomail.com; s=zohoarc; b=k1Wfx7lJl2y7wQNYqZq7RQBm9xqdViFZpZZQyrG2bfwkQeg53g4nIVzMqmS0yj2eANfswnlXNNRu7TZi8zAF0PpzlTj9mfZVC6W4FSdS2Sx/KS46JgKxU/YqjgB38QyjDbPYkvSOcfTDn9Eb64lEJ92pkccKEjVXgnmtM1qjpEw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579887792; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=6lpq5xe+njZjK4vo9cWtnwh0z01MjksFIbLN8UfQNmc=; b=cCWepJAM0LnI5PGybF/GdizWkvN/QILt/rhA0m4pYhacoDCxboUVaZPKFirs7wXuNo6OrScXSNKEMo8yYZFwH9/GptJXdae/aBPqU5aEmBAt5YjZdXPtvFXStbKiDPMMORB3ofs6zDcj8DqLyxU/T4gU/1KqTUExroTqBzoq4Gc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1579887792604773.2080860660352; Fri, 24 Jan 2020 09:43:12 -0800 (PST) Received: from localhost ([::1]:45858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv2z9-00081a-7Z for importer@patchew.org; Fri, 24 Jan 2020 12:43:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv2x3-0003fO-En for qemu-devel@nongnu.org; Fri, 24 Jan 2020 12:41:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv2x1-0001gu-Iv for qemu-devel@nongnu.org; Fri, 24 Jan 2020 12:41:01 -0500 Received: from mx2.rt-rk.com ([89.216.37.149]:38461 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv2x1-0001el-Bb for qemu-devel@nongnu.org; Fri, 24 Jan 2020 12:40:59 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 79E411A214F; Fri, 24 Jan 2020 18:40:55 +0100 (CET) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.14.106]) by mail.rt-rk.com (Postfix) with ESMTPSA id 58A931A212E; Fri, 24 Jan 2020 18:40:55 +0100 (CET) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PULL 2/7] disas: Add a field for target-dependant data Date: Fri, 24 Jan 2020 18:40:41 +0100 Message-Id: <1579887646-5949-3-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1579887646-5949-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1579887646-5949-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic This patch adds a field "target_info" to the structure disassemble_info. The purpose of this field is to enable targets to pass to disassembler code any additional data thet deem suitable. Reviewed-by: Aleksandar Rikalo Signed-off-by: Aleksandar Markovic Message-Id: <1579883929-1517-6-git-send-email-aleksandar.markovic@rt-rk.com> --- include/disas/dis-asm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/disas/dis-asm.h b/include/disas/dis-asm.h index e9c7dd8..f87f468 100644 --- a/include/disas/dis-asm.h +++ b/include/disas/dis-asm.h @@ -372,6 +372,9 @@ typedef struct disassemble_info { /* Command line options specific to the target disassembler. */ char * disassembler_options; =20 + /* Field intended to be used by targets in any way they deem suitable. = */ + int64_t target_info; + /* Options for Capstone disassembly. */ int cap_arch; int cap_mode; --=20 2.7.4