From nobody Sat Apr 5 01:16:41 2025 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=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1739585869; cv=none; d=zohomail.com; s=zohoarc; b=TUQTCiyxud+gRk1ioPSh1FhAgHoMWN2k5Yq7Zvm0v/22fCVmfbOhUIPuo5ucGdXnxF/hwNnOHecffVeGzwxxELXP5Y/MP0SLqzE28tQMsS96JaAxoCFY6FHQjXgOTRBOrOvmpbnncLvs57eXwOrLVdNPx4wvBGwu6HGKLfdQsm4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739585869; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=Q0nTTDlTbisLockfMnOkNHTw9QBYDwCgUvNVg9c8e2k=; b=XSaklaxZU3VBEgC4PuQxNzZqgt5tpVB2emUQ6Weqf0oRhi6msZqcFpDVj+qYvw1w+D4/yLwqu8T5SocsMcOU3N9vn07j3lVPEddxcaOhiDH7ewi0k48yIQ1plLo0W8U+NI7AZ3OHnLO4se9tI4qJ72wpgS4IPFFgafISTnst6a4= 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1739585869635768.3691044661343; Fri, 14 Feb 2025 18:17:49 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tj7k0-0004Fu-BH; Fri, 14 Feb 2025 21:17:12 -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 1tj7jz-0004F0-Ba for qemu-devel@nongnu.org; Fri, 14 Feb 2025 21:17:11 -0500 Received: from home.keithp.com ([63.227.221.253] helo=elaine.keithp.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tj7jw-0006dE-Fd for qemu-devel@nongnu.org; Fri, 14 Feb 2025 21:17:11 -0500 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 18F943F22BF4 for ; Fri, 14 Feb 2025 18:17:04 -0800 (PST) Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavis, port 10024) with LMTP id yLTZX6ZfgMyv; Fri, 14 Feb 2025 18:17:02 -0800 (PST) Received: from keithp.com (koto.keithp.com [192.168.11.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 89AB33F22BBE; Fri, 14 Feb 2025 18:17:02 -0800 (PST) Received: by keithp.com (Postfix, from userid 1000) id 5828B1E6009D; Fri, 14 Feb 2025 18:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1739585824; bh=hEdGGrdRnyKcM0NWUuU9kjR/8KwYnsAxspFYskjaN3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lAo2rbUjoMgSV6DM0bL3M5ngVmYPFbINcV/ia3lgXpVpw+P4HcQQfaQ980vTui/6U 9eQ2YSekKsljar8DmTyvQJ8CMVOqhG2QCvvReJShz5pI2BJRW1aZUcYyxN0S922xrt FnQiu3hxuS31L3dwKMNYMtkHu1zizJoW+Y16INTJi2FMUQFMkOSs7opJ7AFe5AOcM2 y0prpHhHa8T5Z12LwkHapaM8jugu2R7Zvky/WuoS/lqOvasS16+agNkaMV/tnY/eAl s6yFQTTjAdT1s3ERHC6nroTlNlgdOUUwYVwzc08ujNNLghncO26bPpDhKY3yVTW4ZG TQxdt0Kp18iIQ== X-Virus-Scanned: Debian amavis at keithp.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1739585822; bh=hEdGGrdRnyKcM0NWUuU9kjR/8KwYnsAxspFYskjaN3Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GRuce0iEF4mrDT1yWIcQwDF8EHA3Qcijw7T9G/mSp0oKb546KAcA3zJHoa3Nkiuiu QmVTf2IcpoUnPTbSor1FJL8XbAZWZlOL59Hc7FAUvxNFp2me8SJDQnvX5FOnDnvsxK BypuK9w5VSnsH1xNGtuLZY6nP5OlyA/WWVuaHfm/waDmaF6lhTuL1I7jcfuZg1UWDN E7QmWu9EzlZueXoKKP4amyzvX6jOQ2NAbyjJHa60mGi1AEI8iOsT19goSiNbnHyD0D b4J1KG3dx1gQiTKP7sgJGHNEYOrc43EIT+Udhk5WD/7y2w9s3sY309w860a1Ezf9os piXhXoQ/1EsbQ== To: qemu-devel@nongnu.org Cc: Keith Packard Subject: [PATCH 2/5] target/rx: Set exception vector base to 0xffffff80 Date: Fri, 14 Feb 2025 18:16:51 -0800 Message-ID: <20250215021654.1786679-3-keithp@keithp.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250215021654.1786679-1-keithp@keithp.com> References: <20250215021654.1786679-1-keithp@keithp.com> MIME-Version: 1.0 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=63.227.221.253; envelope-from=keithp@keithp.com; helo=elaine.keithp.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Reply-to: Keith Packard From: Keith Packard via Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1739585872206019100 Content-Type: text/plain; charset="utf-8" The documentation says the vector is at 0xffffff80, instead of the previous value of 0xffffffc0. That value must have been a bug because the standard vector values (20, 21, 23, 25, 30) were all past the end of the array. Signed-off-by: Keith Packard --- target/rx/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/rx/helper.c b/target/rx/helper.c index 80912e8dcb..55e2ae4a11 100644 --- a/target/rx/helper.c +++ b/target/rx/helper.c @@ -90,7 +90,7 @@ void rx_cpu_do_interrupt(CPUState *cs) cpu_stl_data(env, env->isp, env->pc); =20 if (vec < 0x100) { - env->pc =3D cpu_ldl_data(env, 0xffffffc0 + vec * 4); + env->pc =3D cpu_ldl_data(env, 0xffffff80 + vec * 4); } else { env->pc =3D cpu_ldl_data(env, env->intb + (vec & 0xff) * 4); } --=20 2.47.2