From nobody Tue May 21 04:32:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) client-ip=209.85.221.54; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f54.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1611787385; cv=none; d=zohomail.com; s=zohoarc; b=dnem8jCCFENK7f6lL3SMwQLAe41Knrlvh607OYNmGRLFERrkWL9nQ/DJGRs6LxYx/FtDLROIzSbnMhh40F6O4IJ3WZ5MUKkZcsm4FrcjYxvlDM3woB74bb9c1hVitLCLc1QYs12/iRJuiu0rIkSmCWgBG6FL6hEJzRjGJbe1Ogw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611787385; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=D7TTiZh4CEBq1goSTNvOHrjObfTRjeZppiTNX6JNiI8=; b=BzjvlrrpriYm9b6lsPwctktiLVPVCJTHCM+peaDn0JM8Ijw5htEQGZytS8cpys4ov4SfjKkt1YqW+acBEW9aKKP0chMQOKOyPzWBjzxTghsYoXc84/lho8X/n6OirHjofObkd2VoYuTRSkpD3LXtPuIHnHc7F7c02515YcSOG44= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.zohomail.com with SMTPS id 1611787385033808.7585326678322; Wed, 27 Jan 2021 14:43:05 -0800 (PST) Received: by mail-wr1-f54.google.com with SMTP id c4so842674wru.9 for ; Wed, 27 Jan 2021 14:43:04 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id r124sm3970413wmr.16.2021.01.27.14.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 14:43:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D7TTiZh4CEBq1goSTNvOHrjObfTRjeZppiTNX6JNiI8=; b=PmXrf2AXigkygEF1xVZC1Ov6Wl+HR95zFMzQY/3EwIUso3yONhrU3zkTQcNbV8mGLj hIAF7qi/HdNpHX2a+rjz/8wUSbxiCzv0KqpqoLtBYjn5QB+ktLt1JLv6huuYEhDufypC y+kKIj5y98ZxxhR5rXu4RueS8whPVuY4gb+8HRjQHHStCfGaPWAtrhsYIJWscjeTIuIg TLVtsC3otAMnimMZmnOqALAWfYEU50O9KUqEdAzm+olwG9PcGLMTE94RfKcINT3OEKw9 kNoK3ys7zxxH+q8vw+mYgKto078I/L/Zle2/MeJwMpYge4c0fZwA+H9b/NP2/u+rGX6y gVSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=D7TTiZh4CEBq1goSTNvOHrjObfTRjeZppiTNX6JNiI8=; b=jEruZHeN1ViPiIjtkOFcNhZBZhu+vUkwXReumRROs0mstm7VFm/5tx8seqPmNGpcZD 0P4MbIXwkcSR5IPGF98a3jvZlBZCExrEphewURqjiiR7aW2KaBv91QU1lAjnaP9ALVnM 9O8aUGNR/ZRnmicmxG4e+XGDNsQvEKGevdLTOQpBGBUKisZFNd1S9Myk+7wR+mKDFQmW ql8kuZ8cbzbpTFmggRH2CpWCk91VYTNM/moGCJUpdTJDh1gUWa72sKpGEj30lMPUFRei U6xI2EXeLVULHtruKDeCPigpXsa0BD1pxW6rQWsJuhH128YID3aoaQlqak5f5G9CLARb +QdA== X-Gm-Message-State: AOAM531/rxK2f9B6edZKJtL9Z82zG+ApHPKNeqx3ziwSmg93yUTgFouM 7K2FbVz0+wJap7sQK209L0Y= X-Google-Smtp-Source: ABdhPJzGu3US36AMfOAu9I9YVEPvzcsi1x0pjWXoqaXv5lXog9H6jNHyELW4j00llb4skPU+UMtZNg== X-Received: by 2002:adf:c109:: with SMTP id r9mr13435621wre.261.1611787383304; Wed, 27 Jan 2021 14:43:03 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bastian Koppelmann , Richard Henderson , Joe Komlodi , David Brenken , Andreas Konopik , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/3] target/tricore: Replace magic value by MMU_DATA_LOAD definition Date: Wed, 27 Jan 2021 23:42:53 +0100 Message-Id: <20210127224255.3505711-2-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210127224255.3505711-1-f4bug@amsat.org> References: <20210127224255.3505711-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) cpu_get_phys_page_debug() uses 'DATA LOAD' MMU access type. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Bastian Koppelmann --- target/tricore/helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/tricore/helper.c b/target/tricore/helper.c index 77152932630..81171db833b 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -50,7 +50,8 @@ hwaddr tricore_cpu_get_phys_page_debug(CPUState *cs, vadd= r addr) int prot; int mmu_idx =3D cpu_mmu_index(&cpu->env, false); =20 - if (get_physical_address(&cpu->env, &phys_addr, &prot, addr, 0, mmu_id= x)) { + if (get_physical_address(&cpu->env, &phys_addr, &prot, addr, + MMU_DATA_LOAD, mmu_idx)) { return -1; } return phys_addr; --=20 2.26.2 From nobody Tue May 21 04:32:16 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1611787475; cv=none; d=zohomail.com; s=zohoarc; b=ntSlihAn6hjvFUPpyktJm1pA7j9hnSvOOzATIOyHY+FwFHUasLYvdwW21d8GJnBvYxHXrtNIbxsd5K96yh/pXCDmgnTIVrTwNGGKcKPwdIE5TAy9wQUR4KRbaCJT6f3DjwcnZpeWsAf7pF6hWuJFsInB63erC9VkqC4OhPqDFRQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611787475; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hsf6YslG+iiwGWWyzTzUT651ZdNva63Lvir9YoamAx4=; b=JjxieQCV25yzgilq7gE7HB7fKTyhOoPpR8ds+uiFRv8n2XC9c+Pp3tDo9SL7Bvmdhn5l1xnb6vFE+n1kIoVstD+swVtnYy50dIivmZyVWB4CF38IjZYs9GZQbHTcc7UbXHKFQVZt/ULD5TYvePnLoZgyftGnXTmMe33qkbje/3k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 161178747569058.13708057425583; Wed, 27 Jan 2021 14:44:35 -0800 (PST) Received: from localhost ([::1]:58118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4tYA-0007pZ-Jt for importer@patchew.org; Wed, 27 Jan 2021 17:44:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4tWp-0006VR-MO for qemu-devel@nongnu.org; Wed, 27 Jan 2021 17:43:11 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:35756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4tWo-0001eq-8z for qemu-devel@nongnu.org; Wed, 27 Jan 2021 17:43:11 -0500 Received: by mail-wm1-x32f.google.com with SMTP id e15so3003550wme.0 for ; Wed, 27 Jan 2021 14:43:09 -0800 (PST) Received: from localhost.localdomain (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id q9sm4331552wme.18.2021.01.27.14.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 14:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hsf6YslG+iiwGWWyzTzUT651ZdNva63Lvir9YoamAx4=; b=K8EQn8GTmUm9OhKOy8D8hABbFns8fRdgboTQVFsPW8omlNRQD/s3q5hL3vAgV5CVid l/v+79k8vQpxYwkkNRYAidgKt9h7YbbLkQa7p/qbtcafQ33ZpQ53koAU6rvieSCbf/d2 fRWtX9BWwYelWexOS6FgW1rRz2d8Bl2kxTXeyEnXizIl1oWJLPH8W5JbTvBFqvTnQgRP bOJ1pLhYHMFfJUqeTQWzuIiX9kGssWnTc6DiqfUYjDxqycRol0xQNC/xw8ecRA9ON+h0 OGa+72Ih9SdA3Ip8+NTIYHoEb/gpaBO88EZlZ9dR2nzOLiQeEMtCyB+tNcEdAVnenJeH pkBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=hsf6YslG+iiwGWWyzTzUT651ZdNva63Lvir9YoamAx4=; b=e2xAFHY5GrBoA0liM9IeYG8WLqu0Fd6Xp1oN4S2nXo59QtXS761OITPtRkTKN2zDrl PJGvX86df1+Zq/wM6l9Me8lWlKVXxCHRt3vjqpfiBJXeZCV3Ziw7RCECze+BayT8nOGd rxGkQE5m2yyvJjC7tzeI57667SMU7noluS4zcaoo7bEgjU/lgpYtyEfMOhIf9yz5lZqd MutJqlFujuelHkt4aRfESn8bBpcx9YmUQZ/OQCBhDrf+HrMU0nb9S6ffDNZ8uJMWUDaC brweXIgOAW9RbJT9OF5kOelzNJfZFCJprbCx93YIjbW2z00U3SpMenQ+EqSsJQ0CL3r5 uTVw== X-Gm-Message-State: AOAM532gKrAy9hkVUnRNaUhDpdIdh/EJYZ6Gw7vx1J3Gh3RFAnoR1kI9 +FOZxToJHrchnatAIBu+WckBde42iJk= X-Google-Smtp-Source: ABdhPJxefUx5HtYSGlomhi3A2311yHC3rNT8NTLgzr2dvatp6hP23xr0pW5S1FKBRXURA0y+/rhZgg== X-Received: by 2002:a1c:df08:: with SMTP id w8mr5797209wmg.81.1611787388638; Wed, 27 Jan 2021 14:43:08 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 2/3] target/tricore: Pass MMUAccessType to get_physical_address() Date: Wed, 27 Jan 2021 23:42:54 +0100 Message-Id: <20210127224255.3505711-3-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210127224255.3505711-1-f4bug@amsat.org> References: <20210127224255.3505711-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastian Koppelmann , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Joe Komlodi , David Brenken , Andreas Konopik Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 'int access_type' and ACCESS_INT are unused, drop them. Provide the mmu_idx argument to match other targets. 'int rw' is actually the MMUAccessType, rename it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Bastian Koppelmann --- target/tricore/helper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/tricore/helper.c b/target/tricore/helper.c index 81171db833b..c5e997f3215 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -33,7 +33,7 @@ enum { #if defined(CONFIG_SOFTMMU) static int get_physical_address(CPUTriCoreState *env, hwaddr *physical, int *prot, target_ulong address, - int rw, int access_type) + MMUAccessType access_type, int mmu_idx) { int ret =3D TLBRET_MATCH; =20 @@ -72,13 +72,11 @@ bool tricore_cpu_tlb_fill(CPUState *cs, vaddr address, = int size, CPUTriCoreState *env =3D &cpu->env; hwaddr physical; int prot; - int access_type; int ret =3D 0; =20 rw &=3D 1; - access_type =3D ACCESS_INT; ret =3D get_physical_address(env, &physical, &prot, - address, rw, access_type); + address, rw, mmu_idx); =20 qemu_log_mask(CPU_LOG_MMU, "%s address=3D" TARGET_FMT_lx " ret %d phys= ical " TARGET_FMT_plx " prot %d\n", --=20 2.26.2 From nobody Tue May 21 04:32:16 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=1611787478; cv=none; d=zohomail.com; s=zohoarc; b=VczxuURUPDv/RvmUSQ88+3MncEyqK/MOOHyoZl15M4vhvDfMvrQ1TzFZWp2xbZadDkeiC/P6nmcuE8f+onyVKO2MPs1DWlif3rC5jeVkCSCtHm1fxuc/lrvO2jaEz/BD+5Ic2A02lfBGZCFwcjIqm2J5YJEwWrT1N2US7rHchiM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611787478; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=rVntcXlDQ+FXs02aG9vIA8WUeQl9eOoJE84BzHT5YTk=; b=QyxTRjWvssTToUMh9dNewQhdRAGCZOhLMR8S2DZ7H/9KVT9BqilL8lfge8Ghx06S+SROy2cQJAE/j6hDp73o3//i37Iu7Erh4VYWsGIkgvZzcsWr1c/eKzjrLL/xrK/+9OVgo818sZ3SoKmnYy7CaqQVA9tTKU6uMuW5TV7yKqk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 1611787478467619.1766712051691; Wed, 27 Jan 2021 14:44:38 -0800 (PST) Received: from localhost ([::1]:58356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4tYD-0007vN-BS for importer@patchew.org; Wed, 27 Jan 2021 17:44:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4tWw-0006Ze-0y for qemu-devel@nongnu.org; Wed, 27 Jan 2021 17:43:18 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4tWu-0001f6-Ip for qemu-devel@nongnu.org; Wed, 27 Jan 2021 17:43:17 -0500 Received: by mail-wr1-x434.google.com with SMTP id g10so3575527wrx.1 for ; Wed, 27 Jan 2021 14:43:16 -0800 (PST) Received: from localhost.localdomain (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id r13sm4063126wmh.9.2021.01.27.14.43.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 14:43:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rVntcXlDQ+FXs02aG9vIA8WUeQl9eOoJE84BzHT5YTk=; b=TzAomfbmboMDw99J7qiKCQjofw9W5CrwukeGApODoV8LBksGmwvTcXXybPxtnurtgj XbLTcCsOuCmv8HEqRPHenFOncgMiRXWEL3NFtuH0xwovTbwuHiaIHXoZ5NRdfTks1EeL B01LlH+pqaoehfZV6io4V1om6GPk88SoyW6qGtInL/dkdjuAHRv5qy7JlUjxxd04GO+6 9Vwk88Lrq/65cvjwfFg7FjvpVNIhVkZ7jKRx3yE9VkWaj4kLpCJnJInX2PVlEYGQZ1qd PnQT3iIILwAV/DHOuu7afw5eWMR6GC1b65/TXDn5QLpBLc/pnnJvDZGrv4FGG/vEwxOl np7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=rVntcXlDQ+FXs02aG9vIA8WUeQl9eOoJE84BzHT5YTk=; b=l5clOCZbh5ymeV2frHudhxvynzO4z8T385T4fOXWb9weZ+HyOTSlRtSeasZk2Um5Ih cNfSpN22ReFVy33HveZd12c2qvj+dkCMh5DqMaUobS+035SwuKFbcRfuBu2MAW0j6Gdn urwRDb+T50tEo8g2rjNdpWYcOlhYXhrHcOhl/NcFSOmb4uiNpIo5bXnQ4XsbkfZVUc1v QpbFx4z4DJR28/TIxHctwaqFnkeA+2fABXl+tsp21OfrlK65KXQ0SsVeUQVl8+9ZaTnp Q2oSbSsTwGZzUzIB5sP8xLrnoP2QaoOyzIhVxpA6cJmFTxwknxLTuY8/fcZ08xa6Bvfu 1Cbg== X-Gm-Message-State: AOAM532TYymFYUEIxfwaJ01xrC4Sgzu8Z9GoXPbfZjZjqgXPOncWexGk 3SQ6AxCSkohY3KPrrrou1vENSVMpylc= X-Google-Smtp-Source: ABdhPJyXvDkc+wDmWHR136i9MZXOkLPpLcbesBfrx/bBgrgW4Vly/+xojSUAxAZkyvLiZU+UmzCfsg== X-Received: by 2002:a05:6000:104f:: with SMTP id c15mr13063012wrx.239.1611787395017; Wed, 27 Jan 2021 14:43:15 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 3/3] target/tricore: Remove unused definitions Date: Wed, 27 Jan 2021 23:42:55 +0100 Message-Id: <20210127224255.3505711-4-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210127224255.3505711-1-f4bug@amsat.org> References: <20210127224255.3505711-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastian Koppelmann , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Joe Komlodi , David Brenken , Andreas Konopik Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Remove these confusing and unused definitions. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Bastian Koppelmann --- target/tricore/cpu.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h index b82349d1b10..4b61a2c03f8 100644 --- a/target/tricore/cpu.h +++ b/target/tricore/cpu.h @@ -375,18 +375,6 @@ typedef TriCoreCPU ArchCPU; =20 #include "exec/cpu-all.h" =20 -enum { - /* 1 bit to define user level / supervisor access */ - ACCESS_USER =3D 0x00, - ACCESS_SUPER =3D 0x01, - /* 1 bit to indicate direction */ - ACCESS_STORE =3D 0x02, - /* Type of instruction that generated the access */ - ACCESS_CODE =3D 0x10, /* Code fetch access */ - ACCESS_INT =3D 0x20, /* Integer load/store access */ - ACCESS_FLOAT =3D 0x30, /* floating point load/store access */ -}; - void cpu_state_reset(CPUTriCoreState *s); void tricore_tcg_init(void); int cpu_tricore_signal_handler(int host_signum, void *pinfo, void *puc); --=20 2.26.2