coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
io.h File Reference
#include <x86emu/x86emu.h>
#include <types.h>
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u8 my_inb (X86EMU_pioAddr addr)
 
u16 my_inw (X86EMU_pioAddr addr)
 
u32 my_inl (X86EMU_pioAddr addr)
 
void my_outb (X86EMU_pioAddr addr, u8 val)
 
void my_outw (X86EMU_pioAddr addr, u16 val)
 
void my_outl (X86EMU_pioAddr addr, u32 val)
 

Function Documentation

◆ my_inb()

◆ my_inl()

u32 my_inl ( X86EMU_pioAddr  addr)

Definition at line 247 of file io.c.

References addr, bios_device, biosemu_dev_translate_address(), DEBUG_PRINTF_IO, in32le(), biosemu_device_t::io_buffer, IORESOURCE_IO, pci_cfg_read(), and read_io().

Referenced by pci_cfg_read(), and pci_cfg_write().

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

◆ my_inw()

u16 my_inw ( X86EMU_pioAddr  addr)

Definition at line 202 of file io.c.

References addr, bios_device, biosemu_dev_translate_address(), DEBUG_PRINTF_IO, in16le(), biosemu_device_t::io_buffer, IORESOURCE_IO, pci_cfg_read(), and read_io().

Here is the call graph for this function:

◆ my_outb()

void my_outb ( X86EMU_pioAddr  addr,
u8  val 
)

Definition at line 293 of file io.c.

References addr, bios_device, biosemu_dev_translate_address(), DEBUG_PRINTF_IO, biosemu_device_t::io_buffer, IORESOURCE_IO, pci_cfg_write(), val, and write_io().

Here is the call graph for this function:

◆ my_outl()

void my_outl ( X86EMU_pioAddr  addr,
u32  val 
)

Definition at line 366 of file io.c.

References addr, bios_device, biosemu_dev_translate_address(), DEBUG_PRINTF_IO, in32le(), biosemu_device_t::io_buffer, IORESOURCE_IO, out32le(), pci_cfg_write(), val, and write_io().

Here is the call graph for this function:

◆ my_outw()

void my_outw ( X86EMU_pioAddr  addr,
u16  val 
)

Definition at line 325 of file io.c.

References addr, bios_device, biosemu_dev_translate_address(), DEBUG_PRINTF_IO, in16le(), biosemu_device_t::io_buffer, IORESOURCE_IO, out16le(), pci_cfg_write(), val, and write_io().

Here is the call graph for this function: