diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-01-15 07:32:56 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-01-15 07:32:56 +0000 |
commit | ea2baad210ee75f783fe922061537b1230a9556f (patch) | |
tree | 10a54904ba960b50a24263d135623f02e246095b /sys/i386/include/cpufunc.h | |
parent | 4467dc880bdbacf54fa1e3b93e5e600e45d22624 (diff) | |
download | FreeBSD-src-ea2baad210ee75f783fe922061537b1230a9556f.zip FreeBSD-src-ea2baad210ee75f783fe922061537b1230a9556f.tar.gz |
Implementation of Bus Space for FreeBSD-x86.
Obtained From: NetBSD
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r-- | sys/i386/include/cpufunc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 4143dce..8806ef3 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cpufunc.h,v 1.72 1997/09/07 22:01:27 fsmp Exp $ + * $Id: cpufunc.h,v 1.73 1997/12/14 02:11:23 dyson Exp $ */ /* @@ -290,7 +290,7 @@ outl(u_int port, u_long data) } static __inline void -outsb(u_int port, void *addr, size_t cnt) +outsb(u_int port, const void *addr, size_t cnt) { __asm __volatile("cld; rep; outsb" : : "d" (port), "S" (addr), "c" (cnt) @@ -298,7 +298,7 @@ outsb(u_int port, void *addr, size_t cnt) } static __inline void -outsw(u_int port, void *addr, size_t cnt) +outsw(u_int port, const void *addr, size_t cnt) { __asm __volatile("cld; rep; outsw" : : "d" (port), "S" (addr), "c" (cnt) @@ -306,7 +306,7 @@ outsw(u_int port, void *addr, size_t cnt) } static __inline void -outsl(u_int port, void *addr, size_t cnt) +outsl(u_int port, const void *addr, size_t cnt) { __asm __volatile("cld; rep; outsl" : : "d" (port), "S" (addr), "c" (cnt) |