diff options
-rw-r--r-- | src/cpu/qemu-x86/qemu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/qemu-x86/qemu.c b/src/cpu/qemu-x86/qemu.c index 4704bb8a96..b6f0ad5835 100644 --- a/src/cpu/qemu-x86/qemu.c +++ b/src/cpu/qemu-x86/qemu.c @@ -18,8 +18,15 @@ #include <cpu/cpu.h> #include <device/device.h> +#include <cpu/x86/lapic.h> + +static void qemu_cpu_init(struct device *dev) +{ + setup_lapic(); +} static struct device_operations cpu_dev_ops = { + .init = qemu_cpu_init, }; static struct cpu_device_id cpu_table[] = { |