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-or-later */
2 
3 #ifndef SOC_APOLLOLAKE_SYSTEMAGENT_H
4 #define SOC_APOLLOLAKE_SYSTEMAGENT_H
5 
7 
8 /* RAPL Package Power Limit register under MCHBAR. */
9 #define PUNIT_THERMAL_DEVICE_IRQ 0x700C
10 #define PUINT_THERMAL_DEVICE_IRQ_VEC_NUMBER 0x18
11 #define PUINT_THERMAL_DEVICE_IRQ_LOCK 0x80000000
12 #define BIOS_RESET_CPL 0x7078
13 #define PCODE_INIT_DONE (1 << 8)
14 #define MCHBAR_RAPL_PPL 0x70A8
15 #define CORE_DISABLE_MASK 0x7168
16 #define CAPID0_A 0xE4
17 #define VTD_DISABLE (1 << 23)
18 #define DEFVTBAR 0x6c80
19 #define GFXVTBAR 0x6c88
20 #define VTBAR_ENABLED 0x01
21 #define VTBAR_MASK 0xfffffff000ull
22 #define VTBAR_SIZE 0x1000
23 
24 #endif /* SOC_APOLLOLAKE_SYSTEMAGENT_H */