From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 6 14:04:38 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 4CA1416A420 for ; Tue, 6 Dec 2005 14:04:38 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6696B43D49 for ; Tue, 6 Dec 2005 14:04:36 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jB6E4UZu033527; Tue, 6 Dec 2005 16:04:30 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 57142-01-4; Tue, 6 Dec 2005 16:04:27 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jB6E217P033405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Dec 2005 16:02:02 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jB6E258t063289; Tue, 6 Dec 2005 16:02:05 +0200 (EET) (envelope-from ru) Date: Tue, 6 Dec 2005 16:02:05 +0200 From: Ruslan Ermilov To: Marius Strobl Message-ID: <20051206140205.GD62078@ip.net.ua> References: <20051205212539.GF76163@ip.net.ua> <20051206114249.GA62078@ip.net.ua> <20051206144128.J75892@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C94crkcyjafcjHxo" Content-Disposition: inline In-Reply-To: <20051206144128.J75892@newtrinity.zeist.de> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua 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:04:38 -0000 --C94crkcyjafcjHxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). >=20 It works (now for both GENERIC and LINT, that is without and with KTR defined :-). Please commit! Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --C94crkcyjafcjHxo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlZndqRfpzJluFF4RAlSHAJ9UCGy13g05hAczEWuwG8SXvVRZbQCff+OG 7THBv3IJVXybVLjiL7c9+WI= =lIJz -----END PGP SIGNATURE----- --C94crkcyjafcjHxo--