15static inline uint8_t
inb(uint16_t port) {
29static inline void outb(uint16_t port, uint8_t val) {
33 :
"a" (val),
"Nd" (port));
41static inline uint16_t
inw(uint16_t port) {
55static inline void outw(uint16_t port, uint16_t val) {
59 :
"a" (val),
"Nd" (port));
67static inline uint32_t
inl(uint16_t port) {
81static inline void outl(uint16_t port, uint32_t val) {
85 :
"a" (val),
"Nd" (port));
static uint8_t inb(uint16_t port)
read byte from low level port
Definition port_io.h:15
static void io_wait(void)
perform a short wait (1-4 microseconds)
Definition port_io.h:94
static void outl(uint16_t port, uint32_t val)
write double word to low level port
Definition port_io.h:81
static uint32_t inl(uint16_t port)
read double word from low level port
Definition port_io.h:67
static void outb(uint16_t port, uint8_t val)
write byte to low level port
Definition port_io.h:29
static void outw(uint16_t port, uint16_t val)
write word to low level port
Definition port_io.h:55
static uint16_t inw(uint16_t port)
read word from low level port
Definition port_io.h:41