From: Ulrich Drepper Date: Sun, 23 Jan 2000 08:59:22 +0000 (+0000) Subject: Add prototypes for port access functions. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fb1c461bdc864ad78c6b0bb294096c1b9d96790;p=thirdparty%2Fglibc.git Add prototypes for port access functions. --- diff --git a/sysdeps/unix/sysv/linux/alpha/sys/io.h b/sysdeps/unix/sysv/linux/alpha/sys/io.h index 08dd10637ed..ef22c4511e5 100644 --- a/sysdeps/unix/sysv/linux/alpha/sys/io.h +++ b/sysdeps/unix/sysv/linux/alpha/sys/io.h @@ -17,8 +17,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _SYS_IO_H - #define _SYS_IO_H 1 + #include __BEGIN_DECLS @@ -63,6 +63,13 @@ extern int pciconfig_write __P ((unsigned long int __bus, unsigned long int __off, unsigned long int __len, unsigned char *__buf)); +/* Userspace declarations. */ +extern unsigned int inb __P ((unsigned long __port)); +extern unsigned int inw __P ((unsigned long __port)); +extern unsigned int inl __P ((unsigned long __port)); +extern void outb __P ((unsigned char __b, unsigned long __port)); +extern void outw __P ((unsigned short __w, unsigned long __port)); +extern void outl __P ((unsigned int __l, unsigned long __port)); __END_DECLS