Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 14:26:40 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        arch@FreeBSD.org, Mark Murray <mark@grondar.za>
Subject:   Re: "monotonic" counter commit candidate. Reviews, please.
Message-ID:  <XFMail.001120142640.jhb@FreeBSD.org>
In-Reply-To: <20001119083438.B39585@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001120142640.jhb>