From 7ea605ff3491ea95864a7bb5220ffca46a8598e6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 Jan 2000 08:53:21 +0000 Subject: [PATCH] Add prototypes for port access functions. --- sysdeps/unix/sysv/linux/alpha/sys/io.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */ -- 2.7.4