Wrote inb and outb for <sys/io.h>

This commit is contained in:
Gitea 2020-12-18 12:39:04 -06:00
parent 9922fa882d
commit c8c0b03b23
4 changed files with 27 additions and 1 deletions

View file

@ -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