coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
io.h File Reference
#include <stdint.h>
Include dependency graph for io.h:

Go to the source code of this file.

Functions

static void outb (uint8_t value, uint16_t port)
 
static void outw (uint16_t value, uint16_t port)
 
static void outl (uint32_t value, uint16_t port)
 
static uint8_t inb (uint16_t port)
 
static uint16_t inw (uint16_t port)
 
static uint32_t inl (uint16_t port)
 
static void outsb (uint16_t port, const void *addr, unsigned long count)
 
static void outsw (uint16_t port, const void *addr, unsigned long count)
 
static void outsl (uint16_t port, const void *addr, unsigned long count)
 
static void insb (uint16_t port, void *addr, unsigned long count)
 
static void insw (uint16_t port, void *addr, unsigned long count)
 
static void insl (uint16_t port, void *addr, unsigned long count)
 

Function Documentation

◆ inb()

static uint8_t inb ( uint16_t  port)
inlinestatic

Definition at line 28 of file io.h.

References value.

◆ inl()

static uint32_t inl ( uint16_t  port)
inlinestatic

Definition at line 42 of file io.h.

References value.

◆ insb()

static void insb ( uint16_t  port,
void addr,
unsigned long  count 
)
inlinestatic

Definition at line 76 of file io.h.

References addr, and count.

Referenced by fw_cfg_read(), and fw_cfg_smbios_init().

Here is the caller graph for this function:

◆ insl()

static void insl ( uint16_t  port,
void addr,
unsigned long  count 
)
inlinestatic

Definition at line 96 of file io.h.

References addr, and count.

◆ insw()

static void insw ( uint16_t  port,
void addr,
unsigned long  count 
)
inlinestatic

Definition at line 86 of file io.h.

References addr, and count.

◆ inw()

static uint16_t inw ( uint16_t  port)
inlinestatic

Definition at line 35 of file io.h.

References value.

◆ outb()

static void outb ( uint8_t  value,
uint16_t  port 
)
inlinestatic

Definition at line 13 of file io.h.

References value.

◆ outl()

static void outl ( uint32_t  value,
uint16_t  port 
)
inlinestatic

Definition at line 23 of file io.h.

References value.

◆ outsb()

static void outsb ( uint16_t  port,
const void addr,
unsigned long  count 
)
inlinestatic

Definition at line 49 of file io.h.

References addr, and count.

◆ outsl()

static void outsl ( uint16_t  port,
const void addr,
unsigned long  count 
)
inlinestatic

Definition at line 67 of file io.h.

References addr, and count.

◆ outsw()

static void outsw ( uint16_t  port,
const void addr,
unsigned long  count 
)
inlinestatic

Definition at line 58 of file io.h.

References addr, and count.

◆ outw()

static void outw ( uint16_t  value,
uint16_t  port 
)
inlinestatic

Definition at line 18 of file io.h.

References value.