2024-05-25 19:20:33 +03:00
|
|
|
#ifndef IO_H
|
|
|
|
#define IO_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void outb(uint16_t port, uint8_t val);
|
|
|
|
uint8_t inb(uint16_t port);
|
|
|
|
void io_wait(void);
|
|
|
|
|
2024-05-25 23:17:10 +03:00
|
|
|
void outb_wait(uint16_t port, uint8_t val);
|
|
|
|
uint8_t inb_wait(uint16_t port);
|
|
|
|
|
2024-05-25 19:20:33 +03:00
|
|
|
#endif
|