coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
crashlog.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_COMMON_BLOCK_CRASHLOG_LIB_H_
4 #define _SOC_COMMON_BLOCK_CRASHLIB_LIB_H_
5 
6 #include <types.h>
7 
8 
9 /* DVSEC capability Registers */
10 #define TEL_DVSEC_OFFSET 0x100
11 #define TEL_DVSEC_PCIE_CAP_ID 0x0
12 #define TEL_DVSEC_NEXT_CAP 0x2
13 #define TEL_DVSEV_ID 0x8
14 #define TEL_DVSEV_DISCOVERY_TABLE_OFFSET 0xC
15 #define TELEMETRY_EXTENDED_CAP_ID 0x23
16 #define CRASHLOG_DVSEC_ID 0x04
17 #define TEL_DVSEC_TBIR_BAR0 0
18 #define TEL_DVSEC_TBIR_BAR1 1
19 
20 /* CPU CrashLog MMIO Registers */
21 #define CRASHLOG_MAILBOX_INTF_ADDRESS 0x6038
22 #define CRASHLOG_POINTER_SIZE_FIELD_OFFSET 0x04
23 
24 #endif /* _SOC_COMMON_BLOCK_CRASHLOG_LIB_H_ */