Debian Codegraph @

src/soc/amd/mendocino/cpu.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <amdblocks/cpu.h>
4 #include <cpu/cpu.h>
5 #include <device/device.h>
6 #include <soc/cpu.h>
7
8 _Static_assert(CONFIG_MAX_CPUS == 8, "Do not override MAX_CPUS. To reduce the number of "
9 "available cores, use the downcore_mode and disable_smt devicetree settings instead.");
10
11 static struct device_operations cpu_dev_ops = {
12 .init = amd_cpu_init,
13 };
14
15 static struct cpu_device_id cpu_table[] = {
16 { X86_VENDOR_AMD, MENDOCINO_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
17 CPU_TABLE_END
18 };
19
20 static const struct cpu_driver zen_2_3 __cpu_driver = {
21 .ops = &cpu_dev_ops,
22 .id_table = cpu_table,
23 };