12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef _SYS_IO_H
- #define _SYS_IO_H 1
- #include <features.h>
- __BEGIN_DECLS
- #if defined __UCLIBC_LINUX_SPECIFIC__
- extern int ioperm (unsigned long int __from, unsigned long int __num,
- int __turn_on) __THROW;
- extern int iopl (int __level) __THROW;
- #endif
- extern unsigned char inb (unsigned long int port) __THROW;
- extern unsigned short int inw (unsigned long int port) __THROW;
- extern unsigned long int inl (unsigned long int port) __THROW;
- extern void outb (unsigned char value, unsigned long int port) __THROW;
- extern void outw (unsigned short value, unsigned long int port) __THROW;
- extern void outl (unsigned long value, unsigned long int port) __THROW;
- __END_DECLS
- #endif
|