From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 6 14:15:25 2005 Return-Path: X-Original-To: sparc64@FreeBSD.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E1C16A41F; Tue, 6 Dec 2005 14:15:25 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA9843D45; Tue, 6 Dec 2005 14:15:24 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id jB6EFMdp014867; Tue, 6 Dec 2005 15:15:22 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id jB6EFHGs014866; Tue, 6 Dec 2005 15:15:17 +0100 (CET) (envelope-from marius) Date: Tue, 6 Dec 2005 15:15:17 +0100 From: Marius Strobl To: Ruslan Ermilov Message-ID: <20051206151517.K75892@newtrinity.zeist.de> References: <20051205212539.GF76163@ip.net.ua> <20051206114249.GA62078@ip.net.ua> <20051206144128.J75892@newtrinity.zeist.de> <20051206140205.GD62078@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20051206140205.GD62078@ip.net.ua>; from ru@FreeBSD.org on Tue, Dec 06, 2005 at 04:02:05PM +0200 X-AntiVirus-modified: yes X-AntiVirus: checked by AntiVir Milter (version: 1.1.1-9; AVE: 6.32.1.63; VDF: 6.32.1.10; host: newtrinity.zeist.de) Cc: sparc64@FreeBSD.org Subject: Re: [PATCH] Re: sparc64/sparc64/exception.S X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 14:15:25 -0000 On Tue, Dec 06, 2005 at 04:02:05PM +0200, Ruslan Ermilov wrote: > On Tue, Dec 06, 2005 at 02:41:35PM +0100, Marius Strobl wrote: > [...] > > One probably could get away with leaving the KTR_* offset macros > > in genassym.c and just removing those exporting KTR_CT* etc. > > from and extending the scope of #ifndef LOCORE in > > so it can be included in asm source. > > However, the problem of exporting the latter set of KTR_* macros > > to the asm version of ktr(4) isn't new so I'd just go for adding > > KTR_COMPILE to genassym.c as suggested before. If you really want > > to go the route of directly using in asm source > > something like the patch below probably is what you want to do > > (does technically the right thing, not sure about style). > > > It works (now for both GENERIC and LINT, that is without and > with KTR defined :-). Please commit! > Which variant? Just adding KTR_COMPILE to genassym.c or the changes to use in asm source directly? If the latter may I refer to them as reviewed by you? Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.