tape-kernel 1.0
a modular modern independent kernel
Loading...
Searching...
No Matches
io.h
Go to the documentation of this file.
1#ifndef IO_H
2#define IO_H
3
4#include "../lib/types.h"
5
6#define inb __inb
7#define outb __outb
8#define inw __inw
9#define outw __outw
10#define reboot __reboot
11
13void __outb(uint16_t port, uint8_t val);
15void __outw(uint16_t port, uint16_t val);
16void __reboot(void);
17
18#endif
void __outb(uint16_t port, uint8_t val)
void __outw(uint16_t port, uint16_t val)
uint8_t __inb(uint16_t port)
uint16_t __inw(uint16_t port)
void __reboot(void)
unsigned short uint16_t
Definition types.h:29
unsigned char uint8_t
Definition types.h:28