coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
systemagent.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_ELKHARTLAKE_SYSTEMAGENT_H
4 #define SOC_ELKHARTLAKE_SYSTEMAGENT_H
5 
7 
8 /* Device 0:0.0 PCI configuration space */
9 
10 #define EPBAR 0x40
11 #define DMIBAR 0x68
12 #define CAPID0_A 0xe4
13 #define VTD_DISABLE (1 << 23)
14 
15 #define BIOS_RESET_CPL 0x5da8
16 #define GFXVTBAR 0x5400
17 #define EDRAMBAR 0x5408
18 #define VTVC0BAR 0x5410
19 #define REGBAR 0x5420
20 #define VTBAR_ENABLED 0x01
21 #define VTBAR_MASK 0x7ffffff000ull
22 
23 #define MCH_PKG_POWER_LIMIT_LO 0x59a0
24 #define MCH_PKG_POWER_LIMIT_HI 0x59a4
25 #define MCH_DDR_POWER_LIMIT_LO 0x58e0
26 #define MCH_DDR_POWER_LIMIT_HI 0x58e4
27 
28 #define IMRBASE 0x6A40
29 #define IMRLIMIT 0x6A48
30 
31 static const struct sa_mmio_descriptor soc_vtd_resources[] = {
34 };
35 
36 #define V_P2SB_CFG_IBDF_BUS 0
37 #define V_P2SB_CFG_IBDF_DEV 30
38 #define V_P2SB_CFG_IBDF_FUNC 7
39 #define V_P2SB_CFG_HBDF_BUS 0
40 #define V_P2SB_CFG_HBDF_DEV 30
41 #define V_P2SB_CFG_HBDF_FUNC 6
42 
43 #endif
#define VTVC0BAR
Definition: systemagent.h:18
#define GFXVTBAR
Definition: systemagent.h:16
static const struct sa_mmio_descriptor soc_vtd_resources[]
Definition: systemagent.h:31
#define GFXVT_BASE_ADDRESS
Definition: memmap.h:18
#define GFXVT_BASE_SIZE
Definition: memmap.h:19
#define VTVC0_BASE_ADDRESS
Definition: memmap.h:21
#define VTVC0_BASE_SIZE
Definition: memmap.h:22