Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 22:57:48 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/ia64/include cpufunc.h
Message-ID:  <20011006224619.X1107-100000@delplex.bde.org>
In-Reply-To: <200110060931.f969ViC77564@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Oct 2001, Marcel Moolenaar wrote:

> marcel      2001/10/06 02:31:44 PDT
>
>   Modified files:
>     sys/ia64/include     cpufunc.h
>   Log:
>   o  Change ia64_memory_address to explicitly take a u_int64_t
>   o  Add memcpy_fromio, memcpy_io, memcpy_toio, memset_io,
>      memsetw and memsetw_io. I'm not sure this is the right
>      place for it, though.

Certainly not.  As the comment near the beginning says says, cpufunc.h
is "to provide access to special ${MACHINE_ARCH} instructions".  It should
not contain anything that can be written in C, including anything that
can be written in C by combining primitives written in inline asm.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011006224619.X1107-100000>