Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/sys



On 7 Jul 2001, Perry E. Metzger wrote:

: > >> 1. reintroduce ovbcopy() as a macro,
: > >No, we don't want more of it.
: >
: >     it is really painful when you deal with shared code among *BSD.
: >     i'm going to add one soon...
:
: How about doing this: at the top of your own source files, do a
: conditional to define memmove as ovbcopy on FreeBSD and BSD/OS and
: use on memmove in the files?
:
: That will make it easier to deal with when they move to using mem*, as
: they probably will eventually.
:
: I would rather we not do a global ovbcopy macro.

We need to choose one or the other.  If we're going to have global macros
for compatibility, we need to provide one for ovbcopy.  If not, we need to
nuke them all.

The latter case is not feasible at this moment, and hence, we need an
ovbcopy macro if we are to preserve the non-overlap meaning of bcopy() in
kernel.  At least until we do deal with migration of all other code
(including imported code).

If I'm going to back out the change at this point, it'll be with the
addition of an ovbcopy macro, until such time that everything else is
actually migrated.

-- 
-- Todd Vierling <tv%wasabisystems.com@localhost>  *  Wasabi NetBSD:  Run with 
it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/




Home | Main Index | Thread Index | Old Index