| 1 |
|
| 2 |
|
| 3 |
#include <cpu/cpu.h> |
| 4 |
#include <device/device.h> |
| 5 |
|
| 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 |
}; |