Message ID | 20170914183516.19537-9-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1094933qgf; Thu, 14 Sep 2017 11:37:55 -0700 (PDT) X-Received: by 10.55.17.15 with SMTP id b15mr4186180qkh.136.1505414275229; Thu, 14 Sep 2017 11:37:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505414275; cv=none; d=google.com; s=arc-20160816; b=QmD/5Kmm/WE+LT9xHFCdCUA8haLStWrrZm9u/GfsPv5td/o+0lGb8A/hooSuzJk45A yLjUng4txSJybnLRSaOhE/If3BRt3+e+58j7Ih3/vJr6i9A0zZ6WC9RICpVlCwMQnP7u S56rNfCV/SHoxa5bXI6QJVdF9RiwpdgjaAsAWKIaqcn73zWDevSHwEJqoF343CjTQhRF eS4gRjLlcoUNwlhEs1SOZVY/UFcPBoTrsVU3K/G9Rl+6ZUyaX0X8+Tl/nX/SxAViC4Fn wyfRF8EbyXnsd2wf94G5uTxCaqs1cATHaBmw72KG590g7MDkUYyjHlOgRDBjpo1Qrxpl iwLA== 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:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=ayqfgVAjAPTvZJ8LG9VO9fJHsDl69VJjp6sYegMC+xA=; b=hZr0FISdBXl1gh+gYmXtfUXsM37e+28NGIWBN5xu+oNmgdtTCN3MQf1GSQSrSF14Xl 4gJU27Sn61htXEHE1nAYgT5Y0VIED8RYLyE9O1GO5Qf2e8FXj9PPeiaTkvxmdqasM/jC Wd9iKHnMVwsuqNkbb+lqKxfKVvTo9hWscgPNH1rjwM80sIunVtMrQWXSX7Qdjm8qOBZR xCY4Vv0vAUq8p6VsBNEKrSHNCgqAm4iiO9IotXeHZnQpqPnawRfw5td1hRO/L2eHDXJP EQvqtwcGv0ICNncUMbOjPeGTt7CBtS1T7snuYZefR0FrPMotfnKUQokyCOlr8aGPZujB uXWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DKism0jV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l33si6243187qte.422.2017.09.14.11.37.54 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Sep 2017 11:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DKism0jV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1dsZ1N-000238-4U for patch@linaro.org; Thu, 14 Sep 2017 14:37:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1dsYz6-0000Rd-5H for qemu-devel@nongnu.org; Thu, 14 Sep 2017 14:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1dsYz5-0000at-6R for qemu-devel@nongnu.org; Thu, 14 Sep 2017 14:35:32 -0400 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]:55977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1dsYz5-0000a7-0k for qemu-devel@nongnu.org; Thu, 14 Sep 2017 14:35:31 -0400 Received: by mail-pg0-x22f.google.com with SMTP id b11so108961pgn.12 for <qemu-devel@nongnu.org>; Thu, 14 Sep 2017 11:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=ayqfgVAjAPTvZJ8LG9VO9fJHsDl69VJjp6sYegMC+xA=; b=DKism0jV2RNLm4ccnB89M5N+14TOmcRqyURndYKF2CS/tGBoSVM30Q2KG1lidI5k55 QVWKxOndrnh796FhufAQXS+lKWNdz/G8BIdDksN1ywnB2PMxDCSXErcrwEz8ISJSFSl8 nfNCIBYrzAug/YpJNoT+iSZnFdDP8udLAEEKA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ayqfgVAjAPTvZJ8LG9VO9fJHsDl69VJjp6sYegMC+xA=; b=Ck/knbV0cFFb+CTUs/hrok5WSxTajntpgUjVKk5RpvpTLLaaj0eYi4HvozEA6ZU4II RU7JxzSGpvu9t41nLlkOOMF0iFbjolA8I9M4rn/crKeic0ka9hRjJJvOot8LA48XpUnc wyuZdXutXA+kMJjQq4uFSzi9XFOTOFKaTaOIcc2FG0zMUCiYqtW037vPxKV08KIU+AGV M1dPA3hnuTMu9IvPLhCs/J6k1O2a8WzeUybmwEemlTipGXZ0VmI/rhY44/SUzO+WmFGQ Ac+bHllF1qqPSkX21rSGMkRQ9yAKriLJspyma3H5osq6/GWKHlLgEBF/wcDJrotyl6MY LFJA== X-Gm-Message-State: AHPjjUiMGv0r/KhDPw2uLgoZwWgYtu36wgfS+1XQ5TUZZBxecGFiMnQw eAaiEj0hEhTgrbMxlq9idA== X-Google-Smtp-Source: ADKCNb6gcoIxAw1SquLHWHDuLwbs6TfNWtaw0S46FX6fUNQK3iIuPyBj3Xj9atJolv5b3Sy14z78UQ== X-Received: by 10.101.78.7 with SMTP id r7mr22566666pgt.64.1505414129713; Thu, 14 Sep 2017 11:35:29 -0700 (PDT) Received: from bigtime.twiddle.net (97-126-103-167.tukw.qwest.net. [97.126.103.167]) by smtp.gmail.com with ESMTPSA id l85sm32473848pfb.176.2017.09.14.11.35.28 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Sep 2017 11:35:28 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 14 Sep 2017 11:35:14 -0700 Message-Id: <20170914183516.19537-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170914183516.19537-1-richard.henderson@linaro.org> References: <20170914183516.19537-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22f Subject: [Qemu-devel] [PATCH 08/10] target/s390x: Support Capstone in disas_set_info X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Support the Capstone disassembler
|
expand
|
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index 74b3e4fd0d..a4f7ff3da8 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -42,6 +42,7 @@ #include "sysemu/sysemu.h" #include "hw/s390x/sclp.h" #endif +#include "disas/capstone.h" #define CR0_RESET 0xE0UL #define CR14_RESET 0xC2000000UL; @@ -172,6 +173,7 @@ static void s390_cpu_disas_set_info(CPUState *cpu, disassemble_info *info) { info->mach = bfd_mach_s390_64; info->print_insn = print_insn_s390; + info->cap_arch = CS_ARCH_SYSZ; } static void s390_cpu_realizefn(DeviceState *dev, Error **errp)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/s390x/cpu.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.5