coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
iomap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAP_ENTRY(reg_, is_64_, is_limit_, mask_bits_, desc_)
 
#define MAP_ENTRY_BASE_64(reg_, desc_)   MAP_ENTRY(reg_, 1, 0, 0, desc_)
 
#define MAP_ENTRY_LIMIT_64(reg_, mask_bits_, desc_)   MAP_ENTRY(reg_, 1, 1, mask_bits_, desc_)
 
#define MAP_ENTRY_BASE_32(reg_, desc_)   MAP_ENTRY(reg_, 0, 0, 0, desc_)
 
#define MAP_ENTRY_LIMIT_32(reg_, mask_bits_, desc_)   MAP_ENTRY(reg_, 0, 1, mask_bits_, desc_)
 
#define SPI_BASE_ADDRESS   0xfe010000
 
#define SPI_BASE_SIZE   0x1000
 
#define TCO_BASE_ADDRESS   0x400
 
#define ACPI_BASE_ADDRESS   CONFIG_INTEL_ACPI_BASE_ADDRESS
 
#define ACPI_BASE_SIZE   0x100
 
#define VGA_BASE_ADDRESS   0xa0000
 
#define VGA_BASE_SIZE   0x20000
 
#define HECI1_BASE_ADDRESS   0xfed1a000
 
#define PCH_PWRM_BASE_ADDRESS   CONFIG_INTEL_PCH_PWRM_BASE_ADDRESS
 
#define PCH_PWRM_BASE_SIZE   0x10000
 
#define P2SB_BAR   CONFIG_PCR_BASE_ADDRESS
 
#define GPIO_BASE_SIZE   0x10000
 

Macro Definition Documentation

◆ ACPI_BASE_ADDRESS

#define ACPI_BASE_ADDRESS   CONFIG_INTEL_ACPI_BASE_ADDRESS

Definition at line 22 of file iomap.h.

◆ ACPI_BASE_SIZE

#define ACPI_BASE_SIZE   0x100

Definition at line 23 of file iomap.h.

◆ GPIO_BASE_SIZE

#define GPIO_BASE_SIZE   0x10000

Definition at line 35 of file iomap.h.

◆ HECI1_BASE_ADDRESS

#define HECI1_BASE_ADDRESS   0xfed1a000

Definition at line 29 of file iomap.h.

◆ MAP_ENTRY

#define MAP_ENTRY (   reg_,
  is_64_,
  is_limit_,
  mask_bits_,
  desc_ 
)
Value:
{ \
.reg = reg_, .is_64_bit = is_64_, .is_limit = is_limit_, \
.mask_bits = mask_bits_, .description = desc_, \
}

Definition at line 6 of file iomap.h.

◆ MAP_ENTRY_BASE_32

#define MAP_ENTRY_BASE_32 (   reg_,
  desc_ 
)    MAP_ENTRY(reg_, 0, 0, 0, desc_)

Definition at line 14 of file iomap.h.

◆ MAP_ENTRY_BASE_64

#define MAP_ENTRY_BASE_64 (   reg_,
  desc_ 
)    MAP_ENTRY(reg_, 1, 0, 0, desc_)

Definition at line 12 of file iomap.h.

◆ MAP_ENTRY_LIMIT_32

#define MAP_ENTRY_LIMIT_32 (   reg_,
  mask_bits_,
  desc_ 
)    MAP_ENTRY(reg_, 0, 1, mask_bits_, desc_)

Definition at line 15 of file iomap.h.

◆ MAP_ENTRY_LIMIT_64

#define MAP_ENTRY_LIMIT_64 (   reg_,
  mask_bits_,
  desc_ 
)    MAP_ENTRY(reg_, 1, 1, mask_bits_, desc_)

Definition at line 13 of file iomap.h.

◆ P2SB_BAR

#define P2SB_BAR   CONFIG_PCR_BASE_ADDRESS

Definition at line 34 of file iomap.h.

◆ PCH_PWRM_BASE_ADDRESS

#define PCH_PWRM_BASE_ADDRESS   CONFIG_INTEL_PCH_PWRM_BASE_ADDRESS

Definition at line 31 of file iomap.h.

◆ PCH_PWRM_BASE_SIZE

#define PCH_PWRM_BASE_SIZE   0x10000

Definition at line 32 of file iomap.h.

◆ SPI_BASE_ADDRESS

#define SPI_BASE_ADDRESS   0xfe010000

Definition at line 18 of file iomap.h.

◆ SPI_BASE_SIZE

#define SPI_BASE_SIZE   0x1000

Definition at line 19 of file iomap.h.

◆ TCO_BASE_ADDRESS

#define TCO_BASE_ADDRESS   0x400

Definition at line 21 of file iomap.h.

◆ VGA_BASE_ADDRESS

#define VGA_BASE_ADDRESS   0xa0000

Definition at line 26 of file iomap.h.

◆ VGA_BASE_SIZE

#define VGA_BASE_SIZE   0x20000

Definition at line 27 of file iomap.h.