Message ID | 20220317050538.924111-11-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6713:0:0:0:0 with SMTP id u19csp873008mag; Wed, 16 Mar 2022 22:07:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydfPl/h5YAafis1dfizVA12kJ+zv1A3UiMwpK6Lr9kLaCphgTHKwAsMhdVxXl/8hxtWO7+ X-Received: by 2002:a05:6214:2627:b0:435:42bf:f2f9 with SMTP id gv7-20020a056214262700b0043542bff2f9mr2256947qvb.36.1647493659216; Wed, 16 Mar 2022 22:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647493659; cv=none; d=google.com; s=arc-20160816; b=afzW5M0bh0UA+QzlbtqF8b5/iB4VG5GH764oOMAetloP3z+MO7GBekb0jlTl/BjOVy K53xdgtXYDF4OJa+MN0qi+W1w5Sy8VGN862nU6S28rdy0/YNks7A+wVCHlAQJWY1cmRp kK14UcfLEvOax5bwt2cF21B1ACvTAFNwpK4pZzI8JEjOYY/v+iMbsmnCnvnSEd+Jozy4 M7Eylb5iMOtmNdZvXZJtAA7p8Z2DwkpL7YjNwEKI4Q9vpXowAOzz5rlhGYS/NbUgpzJs pAJagP2rLZuLXaHlNv47EyPgeuMOr6QtU3lYeBHMwzp2HXDlCOAc4469TvCvFwsz6yCp 2P9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=Cj1Mv1TK+d1R4GNVLpYWtLlcIcx/OqQSWvfjy4IfC40=; b=oFB4Aquzrce0ZaKUBJakHFlD2nxH8JVjfXkPU2O5wdoYBtoHjjWvS2kPTszn9wmwPD oetrTeqmRqEAh+gB5F/SP14Hrr1Xn/hzlQ8CmLDUvg5hf4j4iKAdlYNDu12yyhJAtnsh itGA/jQmDJCKuJq/d9Am5PBts2Zd8VP/DXHdpkSKwjiXdY6lqT8KIrC4GKXHTtTU4FbY NS21BdMtOwTpBzUW48Fgr1Loda1lRnHoFHl5vrdf7S2xvjimDRpjUhepoU4fFxp4BSFC YX4StgF4nDsarD7U5sgK7UHwLSWTe7o/xjn4msv0/cd4D0zpwOJVHtQucRSXsVEc3xOF UCHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Irf3JKD0; 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=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. [209.51.188.17]) by mx.google.com with ESMTPS id a2-20020a05622a02c200b002e1cd155fc4si1087164qtx.42.2022.03.16.22.07.39 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Mar 2022 22:07:39 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=Irf3JKD0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nUiMM-0000hq-Qt for patch@linaro.org; Thu, 17 Mar 2022 01:07:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nUiKe-0000c7-LW for qemu-devel@nongnu.org; Thu, 17 Mar 2022 01:05:52 -0400 Received: from [2607:f8b0:4864:20::42f] (port=33388 helo=mail-pf1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nUiKd-0002Dq-3K for qemu-devel@nongnu.org; Thu, 17 Mar 2022 01:05:52 -0400 Received: by mail-pf1-x42f.google.com with SMTP id s42so5987214pfg.0 for <qemu-devel@nongnu.org>; Wed, 16 Mar 2022 22:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cj1Mv1TK+d1R4GNVLpYWtLlcIcx/OqQSWvfjy4IfC40=; b=Irf3JKD0HDQ7INP+tvbPf3Obiwy9viqWZf6YNRvDBego1xRVgux4RU2D7lToxg+lU2 QPxP+xRPNd1+ygUEPKoqHiqSIqRBtYuQKr35IW4fFcAPnLLJKUAXIvhWi1z3ElQFa99W MO9T/YBpkdFWO3vRftZvaF1aL/H4aVNQVi3NP4QEbEIIbCU487foH56midMc1UmKwlsO DXZEI0s/KPCblRLTqXjW/p2wA3BcPkGLn+zVynKxalihqNaepWDaWHdUcJaKHsH/gIsd ybIu5E5rZH0S9Sa+4zl/MxeMF3MQ9tPqkZMM1GiNyPX+adosZWYtfU28d1ewiT2q4IVl E9RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Cj1Mv1TK+d1R4GNVLpYWtLlcIcx/OqQSWvfjy4IfC40=; b=4gQ4TG23yDtW07YchM+7VSu3U7qXkbs+LlapGHkKMHI2wTbC5seew0aZ60XdOG/y8D XPoGcIzbGChHEbwtKm+OOBaH2UVrqj+TYg+yIfYw26d9DHLqJViXHNk0JDTE8vruV8bl 6zK/azMMeV95TvlDoMhCUQ5+aQQ0VErkwK+Dhg2hWIDMPHHfq7WbCxyUk2KXz9jViLHz XnZoB16/vc2auuzPwxeg1/03MMtM2ZA9grSE0RXFlUWQGug6rRW3ri5uPWOFwtHFoT8+ VFZDfK81HVw+5VBuunUX3DaXYn0G186Ljqvx961G1cQ4I3/JIpPRUQ+hqMo5kRck4910 lQcw== X-Gm-Message-State: AOAM5317rS05DE581t+DfP0U/EH3jdXzA6thIqNgOgV5vqapEY8TWwF/ 9YGD3ez0GPwEDHmFzqUdekT5ozaCk+1JQQ== X-Received: by 2002:a63:fc5a:0:b0:381:744c:9781 with SMTP id r26-20020a63fc5a000000b00381744c9781mr2320067pgk.158.1647493549807; Wed, 16 Mar 2022 22:05:49 -0700 (PDT) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id h22-20020a056a001a5600b004f7c17b291asm5101357pfv.87.2022.03.16.22.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:05:49 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH for-7.1 v6 10/51] target/nios2: Remove cpu_interrupts_enabled Date: Wed, 16 Mar 2022 22:04:57 -0700 Message-Id: <20220317050538.924111-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220317050538.924111-1-richard.henderson@linaro.org> References: <20220317050538.924111-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42f.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://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> Cc: marex@denx.de, Peter Maydell <peter.maydell@linaro.org>, amir.gonnen@neuroblade.ai Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/nios2: Shadow register set, EIC and VIC
|
expand
|
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 9be128d63a..59e950dae6 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -226,11 +226,6 @@ bool nios2_cpu_tlb_fill(CPUState *cs, vaddr address, int size, bool probe, uintptr_t retaddr); #endif -static inline int cpu_interrupts_enabled(CPUNios2State *env) -{ - return env->regs[CR_STATUS] & CR_STATUS_PIE; -} - typedef CPUNios2State CPUArchState; typedef Nios2CPU ArchCPU;