14 lines
231 B
C++
14 lines
231 B
C++
#pragma once
|
|
#include <luna/Types.h>
|
|
|
|
namespace IO
|
|
{
|
|
u8 inb(u16 port);
|
|
u16 inw(u16 port);
|
|
u32 inl(u16 port);
|
|
|
|
void outb(u16 port, u8 value);
|
|
void outw(u16 port, u16 value);
|
|
void outl(u16 port, u32 value);
|
|
}
|