coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/iomap.h>
Go to the source code of this file.
Macros | |
#define | PCH_SA_DEV PCI_DEV(0, SA_DEV, SA_FUNC) |
#define | MCHBAR 0x48 /* MCH space. */ |
#define | PCIEXBAR 0x60 /* PCI express space. */ |
#define | MASK_PCIEXBAR_256M 0xF0000000 |
#define | MASK_PCIEXBAR_128M 0xF8000000 |
#define | MASK_PCIEXBAR_64M 0xFC000000 |
#define | MASK_PCIEXBAR_LENGTH 0x6 |
#define | SHIFT_PCIEXBAR_LENGTH 0x1 |
#define | MASK_PCIEXBAR_LENGTH_256M (0x0 << SHIFT_PCIEXBAR_LENGTH) |
#define | MASK_PCIEXBAR_LENGTH_128M (0x1 << SHIFT_PCIEXBAR_LENGTH) |
#define | MASK_PCIEXBAR_LENGTH_64M (0x2 << SHIFT_PCIEXBAR_LENGTH) |
#define | TOUUD_LO 0xa8 /* Top of Upper Usable DRAM - Low */ |
#define | MASK_TOUUD_LO 0xFFF00000 |
#define | TOUUD_HI 0xac /* Top of Upper Usable DRAM - High */ |
#define | MASK_TOUUD_HI 0x0000007F |
#define | TOUUD TOUUD_LO /* Top of Upper Usable DRAM */ |
#define | MASK_TOUUD 0x7FFFF00000 |
#define | TSEGMB 0xb8 /* TSEG base */ |
#define | MASK_TSEGMB 0xFFF00000 |
#define | TOLUD 0xbc /* Top of Low Used Memory */ |
#define | MASK_TOLUD 0xFFF00000 |
#define | CAPID0_A 0xe4 |
#define | VTD_DISABLE (1 << 23) |
#define | B_UNIT 3 |
#define | C_UNIT 8 |
#define | D_UNIT 1 |
#define | P_UNIT 4 |
#define | MCH_BASE_SIZE 0x8000 |
#define | MCH_BMISC 0x6800 |
#define | MCH_BMISC_SBVDRAM 0x08 /* Bit 3: 1 - reads targeting boot vector are routed to DRAM. */ |
#define | MCH_BMISC_ABSEGINDRAM 0x04 /* Bit 2: 1 - reads targeting A/B-segment are routed to DRAM. */ |
#define | MCH_BMISC_RFSDRAM 0x02 /* Bit 1: 1 - reads targeting E-segment are routed to DRAM. */ |
#define | MCH_BMISC_RESDRAM 0x01 /* Bit 0: 1 - reads targeting E-segment are routed to DRAM. */ |
#define | MCH_VTBAR_OFFSET 0x6c80 |
#define | MCH_VTBAR_ENABLE_MASK 0x1 |
#define | MCH_VTBAR_MASK 0x7ffffff000 |
#define | MCH_BAR_BIOS_RESET_CPL 0x7078 |
#define | RST_CPL_BIT (1 << 0) |
#define | PCODE_INIT_DONE (1 << 8) |
#define | MCH_BAR_CORE_EXISTS_MASK 0x7164 |
#define | MCH_BAR_CORE_DISABLE_MASK 0x7168 |
Functions | |
u32 | top_of_32bit_ram (void) |
#define B_UNIT 3 |
Definition at line 38 of file systemagent.h.
#define C_UNIT 8 |
Definition at line 41 of file systemagent.h.
#define CAPID0_A 0xe4 |
Definition at line 34 of file systemagent.h.
#define D_UNIT 1 |
Definition at line 44 of file systemagent.h.
#define MASK_PCIEXBAR_128M 0xF8000000 |
Definition at line 14 of file systemagent.h.
#define MASK_PCIEXBAR_256M 0xF0000000 |
Definition at line 13 of file systemagent.h.
#define MASK_PCIEXBAR_64M 0xFC000000 |
Definition at line 15 of file systemagent.h.
#define MASK_PCIEXBAR_LENGTH 0x6 |
Definition at line 16 of file systemagent.h.
#define MASK_PCIEXBAR_LENGTH_128M (0x1 << SHIFT_PCIEXBAR_LENGTH) |
Definition at line 19 of file systemagent.h.
#define MASK_PCIEXBAR_LENGTH_256M (0x0 << SHIFT_PCIEXBAR_LENGTH) |
Definition at line 18 of file systemagent.h.
#define MASK_PCIEXBAR_LENGTH_64M (0x2 << SHIFT_PCIEXBAR_LENGTH) |
Definition at line 20 of file systemagent.h.
#define MASK_TOLUD 0xFFF00000 |
Definition at line 32 of file systemagent.h.
#define MASK_TOUUD 0x7FFFF00000 |
Definition at line 27 of file systemagent.h.
#define MASK_TOUUD_HI 0x0000007F |
Definition at line 25 of file systemagent.h.
#define MASK_TOUUD_LO 0xFFF00000 |
Definition at line 23 of file systemagent.h.
#define MASK_TSEGMB 0xFFF00000 |
Definition at line 30 of file systemagent.h.
#define MCH_BAR_BIOS_RESET_CPL 0x7078 |
Definition at line 67 of file systemagent.h.
#define MCH_BAR_CORE_DISABLE_MASK 0x7168 |
Definition at line 71 of file systemagent.h.
#define MCH_BAR_CORE_EXISTS_MASK 0x7164 |
Definition at line 70 of file systemagent.h.
#define MCH_BASE_SIZE 0x8000 |
Definition at line 52 of file systemagent.h.
#define MCH_BMISC 0x6800 |
Definition at line 53 of file systemagent.h.
#define MCH_BMISC_ABSEGINDRAM 0x04 /* Bit 2: 1 - reads targeting A/B-segment are routed to DRAM. */ |
Definition at line 56 of file systemagent.h.
#define MCH_BMISC_RESDRAM 0x01 /* Bit 0: 1 - reads targeting E-segment are routed to DRAM. */ |
Definition at line 60 of file systemagent.h.
#define MCH_BMISC_RFSDRAM 0x02 /* Bit 1: 1 - reads targeting E-segment are routed to DRAM. */ |
Definition at line 58 of file systemagent.h.
#define MCH_BMISC_SBVDRAM 0x08 /* Bit 3: 1 - reads targeting boot vector are routed to DRAM. */ |
Definition at line 54 of file systemagent.h.
#define MCH_VTBAR_ENABLE_MASK 0x1 |
Definition at line 64 of file systemagent.h.
#define MCH_VTBAR_MASK 0x7ffffff000 |
Definition at line 65 of file systemagent.h.
#define MCH_VTBAR_OFFSET 0x6c80 |
Definition at line 63 of file systemagent.h.
#define MCHBAR 0x48 /* MCH space. */ |
Definition at line 11 of file systemagent.h.
#define P_UNIT 4 |
Definition at line 47 of file systemagent.h.
Definition at line 9 of file systemagent.h.
#define PCIEXBAR 0x60 /* PCI express space. */ |
Definition at line 12 of file systemagent.h.
#define PCODE_INIT_DONE (1 << 8) |
Definition at line 69 of file systemagent.h.
#define RST_CPL_BIT (1 << 0) |
Definition at line 68 of file systemagent.h.
#define SHIFT_PCIEXBAR_LENGTH 0x1 |
Definition at line 17 of file systemagent.h.
#define TOLUD 0xbc /* Top of Low Used Memory */ |
Definition at line 31 of file systemagent.h.
#define TOUUD TOUUD_LO /* Top of Upper Usable DRAM */ |
Definition at line 26 of file systemagent.h.
#define TOUUD_HI 0xac /* Top of Upper Usable DRAM - High */ |
Definition at line 24 of file systemagent.h.
#define TOUUD_LO 0xa8 /* Top of Upper Usable DRAM - Low */ |
Definition at line 22 of file systemagent.h.
Definition at line 29 of file systemagent.h.
#define VTD_DISABLE (1 << 23) |
Definition at line 35 of file systemagent.h.