1 #include <console/console.h>
2 #include <device/device.h>
3 #include <device/device.h>
4 #include <device/pci.h>
7 #include <cpu/x86/mtrr.h>
8 #include <cpu/x86/msr.h>
9 #include <cpu/x86/lapic.h>
10 #include <cpu/intel/microcode.h>
11 #include <cpu/intel/hyperthreading.h>
12 #include <cpu/x86/cache.h>
13 #include <cpu/x86/mtrr.h>
15 static uint32_t microcode_updates[] = {
16 /* WARNING - Intel has a new data structure that has variable length
17 * microcode update lengths. They are encoded in int 8 and 9. A
18 * dummy header of nulls must terminate the list.
21 #include "microcode_MBDF410D.h"
22 /* Dummy terminator */
30 static void model_f4x_init(device_t cpu)
32 /* Turn on caching if we haven't already */
37 /* Update the microcode */
38 intel_update_microcode(microcode_updates);
40 /* Enable the local cpu apics */
43 /* Start up my cpu siblings */
44 intel_sibling_init(cpu);
47 static struct device_operations cpu_dev_ops = {
48 .init = model_f4x_init,
50 static struct cpu_device_id cpu_table[] = {
51 { X86_VENDOR_INTEL, 0x0f41 }, /* Xeon */
55 static const struct cpu_driver model_f4x __cpu_driver = {
57 .id_table = cpu_table,