diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-10 23:40:46 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-11-10 23:40:46 +0000 |
commit | e9b839678439b516e8ebe8e2845455636b61fff5 (patch) | |
tree | a3b70bc0257bf11fd83bb06dc80cce71a5387d0a /sys/arch/i386/include/pio.h | |
parent | 5e99556923aaf18692c1fd4f3da9de79086941fb (diff) |
Use vfs lite2 lockmanager. Add advisory locking. some KNF.
some extra pathconf ops supported.
Diffstat (limited to 'sys/arch/i386/include/pio.h')
-rw-r--r-- | sys/arch/i386/include/pio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/pio.h b/sys/arch/i386/include/pio.h index b712e3afaeb..47ee837e109 100644 --- a/sys/arch/i386/include/pio.h +++ b/sys/arch/i386/include/pio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pio.h,v 1.4 1996/04/18 19:21:40 niklas Exp $ */ +/* $OpenBSD: pio.h,v 1.5 1997/11/10 23:40:45 niklas Exp $ */ /* $NetBSD: pio.h,v 1.13 1996/03/08 20:15:23 cgd Exp $ */ /* @@ -154,7 +154,7 @@ __outb(int port, u_int8_t data) } static __inline void -outsb(int port, void *addr, int cnt) +outsb(int port, const void *addr, int cnt) { __asm __volatile("cld\n\trepne\n\toutsb" : : @@ -178,7 +178,7 @@ __outw(int port, u_int16_t data) } static __inline void -outsw(int port, void *addr, int cnt) +outsw(int port, const void *addr, int cnt) { __asm __volatile("cld\n\trepne\n\toutsw" : : @@ -202,7 +202,7 @@ __outl(int port, u_int32_t data) } static __inline void -outsl(int port, void *addr, int cnt) +outsl(int port, const void *addr, int cnt) { __asm __volatile("cld\n\trepne\n\toutsl" : : |