From owner-freebsd-arch Mon Nov 20 14:26:11 2000 Delivered-To: freebsd-arch@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 289CD37B479; Mon, 20 Nov 2000 14:26:09 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id eAKMQ7H87673; Mon, 20 Nov 2000 14:26:07 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20001119083438.B39585@dragon.nuxi.com> Date: Mon, 20 Nov 2000 14:26:40 -0800 (PST) From: John Baldwin To: "David O'Brien" Subject: Re: "monotonic" counter commit candidate. Reviews, please. Cc: arch@FreeBSD.org, Mark Murray Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Nov-00 David O'Brien wrote: > On Sun, Nov 19, 2000 at 11:32:02AM +0200, Mark Murray wrote: >> Index: alpha/include/systm.h >> =================================================================== >> RCS file: systm.h >> diff -N systm.h >> --- /dev/null Sun Nov 19 11:09:56 2000 >> +++ systm.h Sat Nov 18 23:32:02 2000 > > > Why do we need a new header just for this? There is no other existing > per-platform header this could go into? And if we have to make a new > header, can we name it something more descriptive than "systm", or at > least spell it correctly so says "look in system dot h" the listener has > a chance of finding more easily. Both machine/cpufunc.h and machine/clock.h were shot down with valid reasons. One could argue that this provides an MI api that is more or less a library function. A similar function that wasn't so MD specific would be implemented in libkern. libkern's prototypes are in sys/systm.h. The natural name for a MD portion of sys/systm.h is machine/systm.h. There is already tons of precedent for this. This has already been discussed to death. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message