mirror of https://github.com/garritfra/ditto-os
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
371 B
20 lines
371 B
#ifndef INCLUDE_IO |
|
#define INCLUDE_IO |
|
|
|
|
|
/** outb |
|
* Write bytes to an I/O port. |
|
* |
|
* @param port The address of the I/O port |
|
*/ |
|
extern void outb(unsigned short port, unsigned char data); |
|
|
|
/** inb: |
|
* Read a byte from an I/O port. |
|
* |
|
* @param port The address of the I/O port |
|
* @return The read byte |
|
*/ |
|
extern unsigned char inb(unsigned short port); |
|
|
|
#endif |