From owner-cvs-all Tue Apr 30 12:58:14 2002 Delivered-To: cvs-all@freebsd.org Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by hub.freebsd.org (Postfix) with ESMTP id C4F6537B41D; Tue, 30 Apr 2002 12:58:03 -0700 (PDT) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel10.hp.com (Postfix) with ESMTP id 3E5E9C0085E; Tue, 30 Apr 2002 12:57:58 -0700 (PDT) Received: from gauss.cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id MAA27521; Tue, 30 Apr 2002 12:57:58 -0700 (PDT) Received: (from marcel@localhost) by gauss.cup.hp.com (8.11.6/8.11.6) id g3UJvvc70284; Tue, 30 Apr 2002 12:57:57 -0700 (PDT) (envelope-from marcel) Date: Tue, 30 Apr 2002 12:57:57 -0700 From: Marcel Moolenaar To: Doug Rabson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ia64/ia64 exception.s src/sys/ia64/include frame.h Message-ID: <20020430195757.GA70203@gauss.cup.hp.com> References: <200204300637.g3U6bQc25956@freefall.freebsd.org> <20020430165257.M25863-100000@herring.nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020430165257.M25863-100000@herring.nlsystems.com> User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 30, 2002 at 04:53:59PM +0100, Doug Rabson wrote: > On Mon, 29 Apr 2002, Marcel Moolenaar wrote: > > > marcel 2002/04/29 23:37:25 PDT > > > > Modified files: > > sys/ia64/ia64 exception.s > > sys/ia64/include frame.h > > Log: > > Add ar.lc and ar.ec to the trapframe. These are not saved for syscalls, > > only for exceptions. > > I was kind-of relying on the C calling conventions saving/restoring these > as needed. ar.lc is callee saved. We have to do it even for the syscall case. ar.ec is automatic as part of the call/return mechanism. We need to explicitly save it only if it's possible to have syscalls inlined. I think we should save them both for syscalls as well. Thoughts? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message