coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef _SOC_CHIP_H_
4 #define _SOC_CHIP_H_
5 
6 #include <stdint.h>
7 #include <intelblocks/cfg.h>
8 #include <soc/acpi.h>
9 #include <soc/gpio.h>
10 #include <soc/irq.h>
11 
13  /* Common struct containing soc config data required by common code */
15 
16  /**
17  * Interrupt Routing configuration
18  * If bit7 is 1, the interrupt is disabled.
19  */
28 
29  /**
30  * Device Interrupt Routing configuration
31  * Interrupt Pin x Route.
32  * 0h = PIRQA#
33  * 1h = PIRQB#
34  * 2h = PIRQC#
35  * 3h = PIRQD#
36  * 4h = PIRQE#
37  * 5h = PIRQF#
38  * 6h = PIRQG#
39  * 7h = PIRQH#
40  */
41 
47 
48  /**
49  * Device Interrupt Polarity Control
50  * ipc0 - IRQ-00-31 - 1: Active low to IOAPIC, 0: Active high to IOAPIC
51  * ipc1 - IRQ-32-63 - 1: Active low to IOAPIC, 0: Active high to IOAPIC
52  * ipc2 - IRQ-64-95 - 1: Active low to IOAPIC, 0: Active high to IOAPIC
53  * ipc3 - IRQ-96-119 - 1: Active low to IOAPIC, 0: Active high to IOAPIC
54  */
59 
62 
64 
68 
69  /* Generic IO decode ranges */
74 
75  /* TCC activation offset */
77 
79 };
80 
82 
83 #endif
acpi_cstate_mode
Select C-state map set in config cstate_states.
Definition: acpi.h:11
unsigned short uint16_t
Definition: stdint.h:11
unsigned int uint32_t
Definition: stdint.h:14
unsigned long long uint64_t
Definition: stdint.h:17
unsigned char uint8_t
Definition: stdint.h:8
uint32_t ipc0
Device Interrupt Polarity Control ipc0 - IRQ-00-31 - 1: Active low to IOAPIC, 0: Active high to IOAPI...
Definition: chip.h:55
uint64_t turbo_ratio_limit_cores
Definition: chip.h:61
enum acpi_cstate_mode cstate_states
Definition: chip.h:78
struct soc_intel_common_config common_soc_config
Definition: chip.h:14
uint32_t pstate_req_ratio
Definition: chip.h:63
uint16_t ir00_routing
Device Interrupt Routing configuration Interrupt Pin x Route.
Definition: chip.h:42
uint8_t pirqa_routing
Interrupt Routing configuration If bit7 is 1, the interrupt is disabled.
Definition: chip.h:20
uint64_t turbo_ratio_limit
Definition: chip.h:60
uint32_t coherency_support
Definition: chip.h:66