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

u8 io_read8 (u16 reg)
 
void io_write8 (u16 reg, u8 value)
 
static void outb (uint8_t value, uint16_t port)
 
static uint8_t inb (uint16_t port)
 

Function Documentation

◆ inb()

static uint8_t inb ( uint16_t  port)
inlinestatic

Definition at line 16 of file io.h.

References io_read8().

Here is the call graph for this function:

◆ io_read8()

u8 io_read8 ( u16  reg)

Definition at line 56 of file fch.c.

References io_bar, and read8().

Referenced by inb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ io_write8()

void io_write8 ( u16  reg,
u8  value 
)

Definition at line 61 of file fch.c.

References io_bar, value, and write8().

Referenced by outb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ outb()

static void outb ( uint8_t  value,
uint16_t  port 
)
inlinestatic

Definition at line 11 of file io.h.

References io_write8(), and value.

Here is the call graph for this function: