xref: /aosp_15_r20/external/coreboot/src/cpu/qemu-x86/qemu.c (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <cpu/cpu.h>
4 #include <device/device.h>
5 
qemu_cpu_init(struct device * dev)6 static void qemu_cpu_init(struct device *dev)
7 {
8 }
9 
10 static struct device_operations cpu_dev_ops = {
11 	.init = qemu_cpu_init,
12 };
13 
14 static const struct cpu_device_id cpu_table[] = {
15 	{ X86_VENDOR_ANY, 0, 0 },
16 	CPU_TABLE_END
17 };
18 
19 static const struct cpu_driver driver __cpu_driver = {
20 	.ops      = &cpu_dev_ops,
21 	.id_table = cpu_table,
22 };
23 
24 struct chip_operations cpu_qemu_x86_ops = {
25 	.name = "QEMU x86 CPU",
26 };
27