From owner-cvs-all@FreeBSD.ORG Wed Apr 28 11:26:10 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20BBB16A4CE; Wed, 28 Apr 2004 11:26:10 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5CF543D41; Wed, 28 Apr 2004 11:26:07 -0700 (PDT) (envelope-from ru@ip.net.ua) 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 i3SIVOOD084178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Apr 2004 21:31:26 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i3SIQ1BC045883; Wed, 28 Apr 2004 21:26:01 +0300 (EEST) (envelope-from ru) Date: Wed, 28 Apr 2004 21:26:01 +0300 From: Ruslan Ermilov To: John Baldwin Message-ID: <20040428182601.GA45799@ip.net.ua> References: <200404281431.i3SEVjtb016009@repoman.freebsd.org> <200404281106.13952.jhb@FreeBSD.org> <20040428152314.GC43431@ip.net.ua> <200404281315.48650.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <200404281315.48650.jhb@FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot1.S sio.S src/sys/boot/i386/btx/btx btx.S src/sys/boot/i386/btx/btxldr btxldr.S src/sys/boot/i386/libi386 amd64_tramp.S src/sys/boot/i386/pxeldr pxeldr.S X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 18:26:10 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 28, 2004 at 01:15:48PM -0400, John Baldwin wrote: > On Wednesday 28 April 2004 11:23 am, Ruslan Ermilov wrote: > > On Wed, Apr 28, 2004 at 11:06:13AM -0400, John Baldwin wrote: [...] > > > Well, that just killed any local diff's anyone had to the boot code f= or a > > > trivial reason. as(1) worked just fine, I don't see why it's such a > > > cardinal sin to use as(1) to compile asm files. > > > > The problem is not with as(1) but with cpp(1) -- as explained in > > the commit log our comments weren't strictly speaking comments > > per se, yet you were the one who pointed this out once to me > > when I switched from m4(1) preprocessed .s files to cpp(1) > > preprocessed .S files. >=20 > They were perfectly fine as(1) comments. :) Wanting to use cpp(1) rather= than=20 > --defsym is a style change, but anyways. >=20 Not quite. Please see below. > > > Thanks for not even asking before hosing the history in cvs annotate: > > > > The history is still here, ``cvs annotate -rX.Y'' still works. >=20 > Yes, but cvs walking back through history to see when an actual change wa= s=20 > originally made takes a bit longer when large scale style changes are mad= e. =20 >=20 Harder, but still possible. I have to do it almost every day when I look for history -- I even looking it in another VCSs, like SCCS from SCRG. ;) > I just think there needs to be a good reason to justify touching every li= ne=20 > in a file for a non-code change, and --defsym vs. cpp(1) doesn't seem lik= e a=20 > good reason, but I'm only one voice, so I'll just deal I guess. >=20 Not that simple. They were already preprocessed by cpp(1). --defsym vs. cpp(1) would be a style only of course, and I wouldn't probably do it, but these files have conditionals (#ifdef/#endif) which aren't possible with just --defsym. Previosly we had to use m4(1), now we use cpp(1). For this reason, up until now, boot0.s was preprocessed with --defsym, it was enough. Now that boot0_512.s is the merged source with conditionals, it's preprocessed with cpp(1), so the source should obey cpp(1) comments rules (only C style comments), otherwise comments like this will fail: .asm code # this does not # include anything # useful (Hint: the second line will barf.) > > > > grep jhb /usr/src/MAINTAINERS > > > > > > cdboot jhb Pre-commit review requested. > > > pxeboot jhb Pre-commit review requested. > > > witness jhb Pre-commit review requested. > > > sys/boot/i386/cdboot/Makefile:MAINTAINER=3D jhb@FreeBSD.org > > > sys/boot/i386/pxeldr/Makefile:MAINTAINER=3D jhb@FreeBSD.org > > > > I don't look into makefiles for MAINTAINER bits anymore, and > > you'd better renaming "pxeboot" to "pxeldr" in src/MAINTAINERS. >=20 > Those aren't in makefiles. I think you put them in src/MAINTAINERS when = you=20 > removed them from the Makefiles w/o my permission. >=20 No. I only removed them from makefiles because they were already in src/MAINTAINERS: : Working file: MAINTAINERS : ---------------------------- : revision 1.6 : date: 2002/04/16 13:16:52; author: jhb; state: Exp; lines: +5 -0 : Specify my personal desired level of review for commits to several portio= ns : of the i386 bootstrap code and witness. and also inspired by reading the following text from src/MAINTAINERS: : Please also consider removing the lines from the files listed below and : stating your preferences here instead. Note that I didn't even remove the redundant two lines from src/MAINTAINERS: sys/boot/i386/cdboot/Makefile:MAINTAINER=3D jhb@FreeBSD.org sys/boot/i386/pxeldr/Makefile:MAINTAINER=3D jhb@FreeBSD.org Ah, now I see where they are coming from. ;-) Sorry about that. Again, I have no problem backing out part of the changes and reapplying them later, if that will be convenient for you. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAj/c5Ukv4P6juNwoRAlbaAJ4+CIQ4xcYD/P8cdEB9naUL9NEjVACcC6B4 7ruOH2MXZdRhqJnvCqboiqE= =hCZu -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--