hazel/include/kernel/io.h

16 lines
280 B
C
Raw Permalink Normal View History

2024-06-27 18:36:32 -04:00
#ifndef HAZEL_IO_H_
#define HAZEL_IO_H_
#include <stdint.h>
uint8_t inb(uint16_t port);
void outb(uint16_t port, uint8_t byte);
2024-08-01 14:22:25 -04:00
uint16_t inw(uint16_t port);
void outw(uint16_t port, uint16_t byte);
uint32_t inl(uint16_t port);
void outl(uint16_t port, uint32_t byte);
2024-06-27 18:36:32 -04:00
#endif