diff options
Diffstat (limited to 'src/kernel/io/io.h')
-rw-r--r-- | src/kernel/io/io.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/kernel/io/io.h b/src/kernel/io/io.h index e00a5f0..22776ee 100644 --- a/src/kernel/io/io.h +++ b/src/kernel/io/io.h @@ -3,10 +3,16 @@ #include <stdint.h> -unsigned char receive(unsigned short port); +uint8_t receive_b(uint16_t port); -void send(unsigned short port, unsigned char data); +uint16_t receive_w(uint16_t port); -void reboot(); +uint32_t receive_l(uint16_t port); + +void send_b(uint16_t port, uint8_t data); + +void send_w(uint16_t port, uint16_t data); + +void send_l(uint16_t port, uint32_t data); #endif |