1 #include <console/console.h>
2 #include <device/device.h>
3 #include <device/pci.h>
6 #include <cpu/x86/mtrr.h>
7 #include <cpu/x86/msr.h>
8 #include <cpu/x86/lapic.h>
9 #include <cpu/intel/microcode.h>
10 #include <cpu/x86/cache.h>
12 static uint32_t microcode_updates[] = {
13 /* Dummy terminator */
20 static void model_69x_init(device_t dev)
22 /* Turn on caching if we haven't already */
27 /* Update the microcode */
28 intel_update_microcode(microcode_updates);
30 /* Enable the local cpu apics */
34 static struct device_operations cpu_dev_ops = {
35 .init = model_69x_init,
38 static struct cpu_device_id cpu_table[] = {
39 { X86_VENDOR_INTEL, 0x0690 }, /* Pentium M */
40 { X86_VENDOR_INTEL, 0x0695 },
44 static const struct cpu_driver driver __cpu_driver = {
46 .id_table = cpu_table,