summaryrefslogtreecommitdiff
path: root/src/device/oprom/include/io.h
blob: 96dd5721f8ad657bd305c2c7d080f8c6ad543e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
#if CONFIG_ARCH_X86
#include <arch/io.h>
#else
void outb(u8 val, u16 port);
void outw(u16 val, u16 port);
void outl(u32 val, u16 port);

u8 inb(u16 port);
u16 inw(u16 port);
u32 inl(u16 port);
#endif