From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21111 invoked from network); 27 Jan 2023 02:47:05 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 27 Jan 2023 02:47:05 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 63B372D33E for ; Thu, 26 Jan 2023 21:47:02 -0500 (EST) (envelope-from bounce.mMc96c7cb218c2b6a69a83b8e8.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 171B8C84BAD; Thu, 26 Jan 2023 21:47:02 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=pbrane.org header.i=@pbrane.org header.b=TwHCeQaW header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=purelymail.com header.i=@purelymail.com header.b=lMG+96qg header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=pbrane.org; spf=pass smtp.mailfrom=ality@pbrane.org smtp.helo=sendmail.purelymail.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:subject:content-transfer-encoding:list-unsubscribe; s= sysmsg-1; t=1674787621; bh=rOZYTRoMDEj7f4tr3DFabAfk0Fe+pDk3MEy8s //4A30=; b=AQlAApWF9lOWj5umrL23neM01Ql27Ge8bk+bg1RSN2Xa2bfLB8o6I PWm2WcCfDVuQNPhF0o/Bj9qKmyQ6coYP8dwacE34JNBuuKww5NqE06ikY/IpNYae cWA7vKgefuvZcyJhE6wjAYYswfGvwFNqQSolD+P3snjleL2eVaOYdA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1674787621; b=AcVHfcKPRTo9C7tZp5PqGTDT5bl20jWfG2WZWx+yHVGRFwc+9K tlu91jqtKjeL/gcypivytz797gn0sc8q6rbpBogd3By63obKW5sB8ynR4sa+UgXP g7syV08OaVRNLx0ZWxhk9V1862j1PoL+rcV2gj1hkRB4UVwPv8XDF/Xkc= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=pbrane.org header.i=@pbrane.org header.b=TwHCeQaW header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=purelymail.com header.i=@purelymail.com header.b=lMG+96qg header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=pbrane.org; spf=pass smtp.mailfrom=ality@pbrane.org smtp.helo=sendmail.purelymail.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=pbrane.org header.i=@pbrane.org header.b=TwHCeQaW header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=purelymail.com header.i=@purelymail.com header.b=lMG+96qg header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=pbrane.org; iprev=pass smtp.remote-ip=34.202.193.197 (sendmail.purelymail.com); spf=pass smtp.mailfrom=ality@pbrane.org smtp.helo=sendmail.purelymail.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sendmail.purelymail.com policy.ptr=sendmail.purelymail.com; x-return-mx=pass header.domain=pbrane.org policy.is_org=yes (MX Records found: mailserver.purelymail.com); x-return-mx=pass smtp.domain=pbrane.org policy.is_org=yes (MX Records found: mailserver.purelymail.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:mime-version:content-type:list-help:list-id :list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=dkim-1; t= 1674787621; x=1674874021; bh=OlqVga6Gqcwx+CVf23QYzQoDk++kHd4QFVb lGuyVooQ=; b=R+h+jgaYBPizrlCbJeSxLwU+CSbF2+1iMmXbz9wa7wD/iyJslIw IDjwndmj0p4Vw1x1l32Tcdv1hB/4NtS2onm+FrWw8EW/MhDUwSBRo8WtuIuScpCa LhFDb+zKRBJ4hnZKBu7/YygmeS0Tm05j4I0nWMBFLI+Fjv0NmUVDJq2E= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id BB814C8476A for <9fans@9fans.net>; Thu, 26 Jan 2023 21:46:46 -0500 (EST) (envelope-from ality@pbrane.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 9CCFA41E5AD; Thu, 26 Jan 2023 21:46:46 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1674787606; b=KyW3BzPBOjphouQXiYN84WNJx+nShAjQAIkMFwRhNE7dV6QvQN gyQT/7v6viQhfTGNzLUvX3Ytl4lERwDrLHFnWRa/VI+ZnE3IF6h3sbh2KciaoAFa Ti1uTnlZZr92K7wBzBAsaWE6Y0fP81FjZsO/8D4qER3xRp00qImNes7CIftfAPWK LyrBUzaH8KWbICfk7wbrVjHkYA4xBBA6zA/hXqQdo0M54WwftnSTijAudfu2Wm8q elAElQaMW/ImTMyZxkmpDTyYk3eQJz79kUNbugtLR8ITKgGD2ChKcGQeg4rFRRBl hmFgTsSRBjn2/cZ/mIFXkWlVHpvvXfz71GXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:mime-version :content-type; s=arcseal; t=1674787606; bh=9lD40Z1HT64N0vdWrynhM SpmJyvDTKe275yBfY/mry0=; b=EARkzqgyVyxvawc/jq7Kcho0OpPipEuJAdztd fYaN8PDXREOrtqCOp5uMgphck7/vt/ZcaJaY4VuEkBWaoaVPHS8h8U4jjWTb9E5i iNoPq6w+IU2+P7xryvbCf58uz6uoAmo1jGriHHLgoNoNFfxhcHVHKc+XjE8zbD+D 0OzFwVVo6NO1gARQNSeivayYAQCgJ6/FxvcOMfB+t7b3DRROnUKFBYJD6CWVuQKJ CdC7wlIaf89PYYvHTHSb+8Ur7NXQc/0+CMp7taET9qLKSAfGzVcSfsJyu9Tyulo0 X6Xb4Dc4VR+AosBCK5xa35Ii6nO0iqLYnVau3E6TZMqv+e+KQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=pbrane.org header.i=@pbrane.org header.b=TwHCeQaW header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dkim=pass (2048-bit rsa key sha256) header.d=purelymail.com header.i=@purelymail.com header.b=lMG+96qg header.a=rsa-sha256 header.s=purelymail1 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=pbrane.org; iprev=pass smtp.remote-ip=34.202.193.197 (sendmail.purelymail.com); spf=pass smtp.mailfrom=ality@pbrane.org smtp.helo=sendmail.purelymail.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sendmail.purelymail.com policy.ptr=sendmail.purelymail.com; x-return-mx=pass header.domain=pbrane.org policy.is_org=yes (MX Records found: mailserver.purelymail.com); x-return-mx=pass smtp.domain=pbrane.org policy.is_org=yes (MX Records found: mailserver.purelymail.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvhedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf fkgggtugesthdtredttddtvdenucfhrhhomheptehnthhhohhnhicuofgrrhhtihhnuceo rghlihhthiesphgsrhgrnhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeeugedtjeetue eigeehveeuudehuddvvdfgfffhhfevvdejffdvjeettdegvddtieenucfkphepfeegrddv tddvrdduleefrdduleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinh gvthepfeegrddvtddvrdduleefrdduleejpdhhvghlohepshgvnhgumhgrihhlrdhpuhhr vghlhihmrghilhdrtghomhdpmhgrihhlfhhrohhmpeeorghlihhthiesphgsrhgrnhgvrd horhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (pbrane.org: Sender is authorized to use 'ality@pbrane.org' in 'mfrom' identity (mechanism 'include:_spf.purelymail.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ality@pbrane.org"; helo=sendmail.purelymail.com; client-ip=34.202.193.197 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 26 Jan 2023 21:46:45 -0500 (EST) (envelope-from ality@pbrane.org) Feedback-ID: 10987:2443:null:purelymail X-Pm-Original-To: 9fans@9fans.net Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1775317604 for <9fans@9fans.net> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 27 Jan 2023 02:46:39 +0000 (UTC) Date: Thu, 26 Jan 2023 18:46:29 -0800 From: Anthony Martin To: 9fans@9fans.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: d9fd7e94-9dec-11ed-a439-db8bb8eb5839 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNTg5ZmE1NTMxM2FiYmRiNC1NYzk2YzdjYjIxOGMyYjZhNjlhODNi?= =?UTF-8?B?OGU4Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] spim syscall stack adjustment Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc96c7cb218c2b6a69a83b8e8:1:JQ6VwZvfKiahs143QoI9fJIIrfpgbWXXOS6rSdAO9fs Does anyone know why the libc system call functions for spim add four to the stack pointer (R29) before issuing the SYSCALL instruction? /sys/src/libc/9syscall/mkfile:/spim It was introduced in the third edition but there were never any spim kernels released so I wasn't able to compare the libc additions to the trap code. I was watching one of adventuresin9's videos about his ongoing port to the MediaTek MT7688 and he mentioned having to modify the stack offsets in the syscall trap handler just as cherry9 had done for the loongson port. Is there any reason not to simply get rid of that ADD $4? Cheers, Anthony ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T589fa55313abbdb4-Mc96c7= cb218c2b6a69a83b8e8 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription