Wrote inb and outb for <sys/io.h>
This commit is contained in:
parent
9922fa882d
commit
c8c0b03b23
4 changed files with 27 additions and 1 deletions
|
@ -12,6 +12,8 @@
|
|||
#ifndef _SYS_IO_H
|
||||
#define _SYS_IO_H
|
||||
|
||||
extern unsigned char inb(unsigned short int port);
|
||||
unsigned char inb(unsigned short int port);
|
||||
|
||||
void outb(unsigned char val, unsigned short port);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue