Last change
on this file since 25 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
725 bytes
|
Line | |
---|
1 | /*
|
---|
2 | ibm/portio.h
|
---|
3 |
|
---|
4 | Created: Jan 15, 1992 by Philip Homburg
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _PORTIO_H_
|
---|
8 | #define _PORTIO_H_
|
---|
9 |
|
---|
10 | #ifndef _TYPES_H
|
---|
11 | #include <sys/types.h>
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | unsigned inb(U16_t _port);
|
---|
15 | unsigned inw(U16_t _port);
|
---|
16 | unsigned inl(U32_t _port);
|
---|
17 | void outb(U16_t _port, U8_t _value);
|
---|
18 | void outw(U16_t _port, U16_t _value);
|
---|
19 | void outl(U16_t _port, U32_t _value);
|
---|
20 | void insb(U16_t _port, void *_buf, size_t _count);
|
---|
21 | void insw(U16_t _port, void *_buf, size_t _count);
|
---|
22 | void insl(U16_t _port, void *_buf, size_t _count);
|
---|
23 | void outsb(U16_t _port, void *_buf, size_t _count);
|
---|
24 | void outsw(U16_t _port, void *_buf, size_t _count);
|
---|
25 | void outsl(U16_t _port, void *_buf, size_t _count);
|
---|
26 | void intr_disable(void);
|
---|
27 | void intr_enable(void);
|
---|
28 |
|
---|
29 | #endif /* _PORTIO_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.