From: Ulrich Drepper Date: Sun, 23 Jan 2000 08:53:21 +0000 (+0000) Subject: Add prototypes for port access functions. X-Git-Tag: upstream/2.30~10627^2~2716 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ea605ff3491ea95864a7bb5220ffca46a8598e6;p=external%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 0095714..d1f5ac3 100644 --- a/sysdeps/unix/sysv/linux/alpha/sys/io.h +++ b/sysdeps/unix/sysv/linux/alpha/sys/io.h @@ -64,6 +64,14 @@ extern int pciconfig_write (unsigned long int __bus, unsigned long int __len, unsigned char *__buf) __THROW; +/* Userspace declarations. */ +extern unsigned int inb (unsigned long __port) __THROW; +extern unsigned int inw (unsigned long __port) __THROW; +extern unsigned int inl (unsigned long __port) __THROW; +extern void outb (unsigned char __b, unsigned long __port) __THROW; +extern void outw (unsigned short __w, unsigned long __port) __THROW; +extern void outl (unsigned int __l, unsigned long __port) __THROW; + __END_DECLS #endif /* _SYS_IO_H */