![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <intelblocks/systemagent.h>
Go to the source code of this file.
Macros | |
#define | SA_IGD_OPROM_VENDEV 0x80860406 |
#define | EPBAR 0x40 |
#define | DMIBAR 0x68 |
#define | SMRAM 0x88 /* System Management RAM Control */ |
#define | D_OPEN (1 << 6) |
#define | D_CLS (1 << 5) |
#define | D_LCK (1 << 4) |
#define | G_SMRAME (1 << 3) |
#define | C_BASE_SEG ((0 << 2) | (1 << 1) | (0 << 0)) |
#define | CAPID0_A 0xe4 |
#define | VTD_DISABLE (1 << 23) |
#define | BIOS_RESET_CPL 0x5da8 |
#define | GFXVTBAR 0x5400 |
#define | EDRAMBAR 0x5408 |
#define | VTVC0BAR 0x5410 |
#define | GDXCBAR 0x5420 |
#define | MCH_PKG_POWER_LIMIT_LO 0x59a0 |
#define | MCH_PKG_POWER_LIMIT_HI 0x59a4 |
#define | MCH_DDR_POWER_LIMIT_LO 0x58e0 |
#define | MCH_DDR_POWER_LIMIT_HI 0x58e4 |
#define | V_P2SB_IBDF_BUS 250 |
#define | V_P2SB_IBDF_DEV 31 |
#define | V_P2SB_IBDF_FUN 0 |
#define | V_DEFAULT_IBDF ((V_P2SB_IBDF_BUS << 8) | PCI_DEVFN(V_P2SB_IBDF_DEV, V_P2SB_IBDF_FUN)) |
#define | V_P2SB_HBDF_BUS 250 |
#define | V_P2SB_HBDF_DEV 15 |
#define | V_P2SB_HBDF_FUN 0 |
#define | V_DEFAULT_HBDF ((V_P2SB_HBDF_BUS << 8) | PCI_DEVFN(V_P2SB_HBDF_DEV, V_P2SB_HBDF_FUN)) |
Functions | |
bool | soc_vtd_enabled (void) |
Variables | |
static const struct sa_mmio_descriptor | soc_gfxvt_mmio_descriptor |
static const struct sa_mmio_descriptor | soc_vtvc0_mmio_descriptor |
#define BIOS_RESET_CPL 0x5da8 |
Definition at line 23 of file systemagent.h.
#define C_BASE_SEG ((0 << 2) | (1 << 1) | (0 << 0)) |
Definition at line 19 of file systemagent.h.
#define CAPID0_A 0xe4 |
Definition at line 20 of file systemagent.h.
#define D_CLS (1 << 5) |
Definition at line 16 of file systemagent.h.
#define D_LCK (1 << 4) |
Definition at line 17 of file systemagent.h.
#define D_OPEN (1 << 6) |
Definition at line 15 of file systemagent.h.
#define DMIBAR 0x68 |
Definition at line 13 of file systemagent.h.
#define EDRAMBAR 0x5408 |
Definition at line 25 of file systemagent.h.
#define EPBAR 0x40 |
Definition at line 12 of file systemagent.h.
#define G_SMRAME (1 << 3) |
Definition at line 18 of file systemagent.h.
#define GDXCBAR 0x5420 |
Definition at line 27 of file systemagent.h.
#define GFXVTBAR 0x5400 |
Definition at line 24 of file systemagent.h.
#define MCH_DDR_POWER_LIMIT_HI 0x58e4 |
Definition at line 32 of file systemagent.h.
#define MCH_DDR_POWER_LIMIT_LO 0x58e0 |
Definition at line 31 of file systemagent.h.
#define MCH_PKG_POWER_LIMIT_HI 0x59a4 |
Definition at line 30 of file systemagent.h.
#define MCH_PKG_POWER_LIMIT_LO 0x59a0 |
Definition at line 29 of file systemagent.h.
#define SA_IGD_OPROM_VENDEV 0x80860406 |
Definition at line 8 of file systemagent.h.
#define SMRAM 0x88 /* System Management RAM Control */ |
Definition at line 14 of file systemagent.h.
#define V_DEFAULT_HBDF ((V_P2SB_HBDF_BUS << 8) | PCI_DEVFN(V_P2SB_HBDF_DEV, V_P2SB_HBDF_FUN)) |
Definition at line 59 of file systemagent.h.
#define V_DEFAULT_IBDF ((V_P2SB_IBDF_BUS << 8) | PCI_DEVFN(V_P2SB_IBDF_DEV, V_P2SB_IBDF_FUN)) |
Definition at line 54 of file systemagent.h.
#define V_P2SB_HBDF_BUS 250 |
Definition at line 56 of file systemagent.h.
#define V_P2SB_HBDF_DEV 15 |
Definition at line 57 of file systemagent.h.
#define V_P2SB_HBDF_FUN 0 |
Definition at line 58 of file systemagent.h.
#define V_P2SB_IBDF_BUS 250 |
Definition at line 51 of file systemagent.h.
#define V_P2SB_IBDF_DEV 31 |
Definition at line 52 of file systemagent.h.
#define V_P2SB_IBDF_FUN 0 |
Definition at line 53 of file systemagent.h.
#define VTD_DISABLE (1 << 23) |
Definition at line 21 of file systemagent.h.
#define VTVC0BAR 0x5410 |
Definition at line 26 of file systemagent.h.
Definition at line 18 of file systemagent.c.
References CAPID0_A, get_uint_option(), pci_read_config32(), pcidev_path_on_root(), SA_DEVFN_ROOT, and VTD_DISABLE.
Referenced by platform_fsp_silicon_init_params_cb(), sa_write_acpi_tables(), and soc_add_fixed_mmio_resources().
|
static |
Definition at line 34 of file systemagent.h.
Referenced by soc_add_fixed_mmio_resources(), and systemagent_vtd_init().
|
static |
Definition at line 34 of file systemagent.h.
Referenced by soc_add_fixed_mmio_resources(), and systemagent_vtd_init().