coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
iomap.h File Reference

Go to the source code of this file.

Macros

#define I2C_MASTER_DEV_COUNT   4
 
#define I2C_MASTER_START_INDEX   2
 
#define I2C_PERIPHERAL_DEV_COUNT   1
 
#define I2C_CTRLR_COUNT   (I2C_MASTER_DEV_COUNT + I2C_PERIPHERAL_DEV_COUNT)
 
#define FLASH_BASE_ADDR   ((0xffffffff - CONFIG_ROM_SIZE) + 1)
 
#define ACPI_IO_BASE   0x400
 
#define ACPI_PM_EVT_BLK   (ACPI_IO_BASE + 0x00) /* 4 bytes */
 
#define ACPI_PM1_STS   (ACPI_PM_EVT_BLK + 0x00) /* 2 bytes */
 
#define ACPI_PM1_EN   (ACPI_PM_EVT_BLK + 0x02) /* 2 bytes */
 
#define ACPI_PM1_CNT_BLK   (ACPI_IO_BASE + 0x04) /* 2 bytes */
 
#define ACPI_PM_TMR_BLK   (ACPI_IO_BASE + 0x08) /* 4 bytes */
 
#define ACPI_CPU_CONTROL   (ACPI_IO_BASE + 0x10)
 
#define ACPI_GPE0_BLK   (ACPI_IO_BASE + 0x20) /* 8 bytes */
 
#define ACPI_GPE0_STS   (ACPI_GPE0_BLK + 0x00) /* 4 bytes */
 
#define ACPI_GPE0_EN   (ACPI_GPE0_BLK + 0x04) /* 4 bytes */
 
#define SMB_BASE_ADDR   0xb00
 
#define PM2_INDEX   0xcd0
 
#define PM2_DATA   0xcd1
 
#define BIOSRAM_INDEX   0xcd4
 
#define BIOSRAM_DATA   0xcd5
 
#define AB_INDX   0xcd8
 
#define AB_DATA   (AB_INDX+4)
 

Macro Definition Documentation

◆ AB_DATA

#define AB_DATA   (AB_INDX+4)

Definition at line 81 of file iomap.h.

◆ AB_INDX

#define AB_INDX   0xcd8

Definition at line 80 of file iomap.h.

◆ ACPI_CPU_CONTROL

#define ACPI_CPU_CONTROL   (ACPI_IO_BASE + 0x10)

Definition at line 70 of file iomap.h.

◆ ACPI_GPE0_BLK

#define ACPI_GPE0_BLK   (ACPI_IO_BASE + 0x20) /* 8 bytes */

Definition at line 72 of file iomap.h.

◆ ACPI_GPE0_EN

#define ACPI_GPE0_EN   (ACPI_GPE0_BLK + 0x04) /* 4 bytes */

Definition at line 74 of file iomap.h.

◆ ACPI_GPE0_STS

#define ACPI_GPE0_STS   (ACPI_GPE0_BLK + 0x00) /* 4 bytes */

Definition at line 73 of file iomap.h.

◆ ACPI_IO_BASE

#define ACPI_IO_BASE   0x400

Definition at line 64 of file iomap.h.

◆ ACPI_PM1_CNT_BLK

#define ACPI_PM1_CNT_BLK   (ACPI_IO_BASE + 0x04) /* 2 bytes */

Definition at line 68 of file iomap.h.

◆ ACPI_PM1_EN

#define ACPI_PM1_EN   (ACPI_PM_EVT_BLK + 0x02) /* 2 bytes */

Definition at line 67 of file iomap.h.

◆ ACPI_PM1_STS

#define ACPI_PM1_STS   (ACPI_PM_EVT_BLK + 0x00) /* 2 bytes */

Definition at line 66 of file iomap.h.

◆ ACPI_PM_EVT_BLK

#define ACPI_PM_EVT_BLK   (ACPI_IO_BASE + 0x00) /* 4 bytes */

Definition at line 65 of file iomap.h.

◆ ACPI_PM_TMR_BLK

#define ACPI_PM_TMR_BLK   (ACPI_IO_BASE + 0x08) /* 4 bytes */

Definition at line 69 of file iomap.h.

◆ BIOSRAM_DATA

#define BIOSRAM_DATA   0xcd5

Definition at line 79 of file iomap.h.

◆ BIOSRAM_INDEX

#define BIOSRAM_INDEX   0xcd4

Definition at line 78 of file iomap.h.

◆ FLASH_BASE_ADDR

#define FLASH_BASE_ADDR   ((0xffffffff - CONFIG_ROM_SIZE) + 1)

Definition at line 61 of file iomap.h.

◆ I2C_CTRLR_COUNT

#define I2C_CTRLR_COUNT   (I2C_MASTER_DEV_COUNT + I2C_PERIPHERAL_DEV_COUNT)

Definition at line 38 of file iomap.h.

◆ I2C_MASTER_DEV_COUNT

#define I2C_MASTER_DEV_COUNT   4

Definition at line 35 of file iomap.h.

◆ I2C_MASTER_START_INDEX

#define I2C_MASTER_START_INDEX   2

Definition at line 36 of file iomap.h.

◆ I2C_PERIPHERAL_DEV_COUNT

#define I2C_PERIPHERAL_DEV_COUNT   1

Definition at line 37 of file iomap.h.

◆ PM2_DATA

#define PM2_DATA   0xcd1

Definition at line 77 of file iomap.h.

◆ PM2_INDEX

#define PM2_INDEX   0xcd0

Definition at line 76 of file iomap.h.

◆ SMB_BASE_ADDR

#define SMB_BASE_ADDR   0xb00

Definition at line 75 of file iomap.h.