44 #define FAULT_FORBIDDEN 64 46 void outb(uint16_t port, uint8_t value);
47 void outw(uint16_t port, uint16_t value);
48 uint8_t
inb(uint16_t port);
49 uint16_t
inw(uint16_t port);
52 void cg_outb(uint32_t port, uint32_t value);
53 uint32_t
cg_inb(uint32_t port);
55 void cg_outw(uint32_t port, uint32_t value);
56 uint32_t
cg_inw(uint32_t port);
58 void cg_outl(uint32_t port, uint32_t value);
60 uint32_t
cg_inl(uint32_t port);
uint32_t cg_inw(uint32_t port)
Inw callgate method.
void cg_outaddrl(uint32_t port, uint32_t value)
Outaddrl callgate method.
uint32_t cg_inl(uint32_t port)
Inl callgate method.
uint32_t cg_inb(uint32_t port)
Inb callgate method.
uint8_t inb(uint16_t port)
IO port read byte.
Definition: port.c:110
void outb(uint16_t port, uint8_t value)
IO port write byte.
Definition: port.c:77
uint16_t inw(uint16_t port)
IO port read word.
Definition: port.c:123
void cg_outl(uint32_t port, uint32_t value)
Outl callgate method.
void cg_outw(uint32_t port, uint32_t value)
Outw callgate method.
void cg_outb(uint32_t port, uint32_t value)
Outb callgate method.
void outw(uint16_t port, uint16_t value)
IO port write word.
Definition: port.c:88