123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef _SYS_IO_H
- #define _SYS_IO_H 1
- #include <features.h>
- __BEGIN_DECLS
- extern int ioperm (unsigned long int __from, unsigned long int __num,
- int __turn_on) __THROW;
- extern int iopl (int __level) __THROW;
- #ifdef __i386__
- #include <bits/io_i386.h>
- #else
- 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;
- #endif
- __END_DECLS
- #endif
|