16 #define MSR_PLATFORM_ID 0x00000017UL 19 #define MSR_PLATFORM_ID_VALUE( value ) ( ( (value) >> 50 ) & 0x7 ) 22 #define MSR_UCODE_TRIGGER_INTEL 0x00000079UL 25 #define MSR_UCODE_TRIGGER_AMD 0xc0010020UL 32 #define UCODE_SIGNATURE_MASK 0xfffffff0UL 35 #define UCODE_VERSION_MIN -0x80000000L 38 #define UCODE_VERSION_MAX 0x7fffffffL 137 #define INTEL_UCODE_HVER 0x00000001UL 140 #define INTEL_UCODE_LVER 0x00000001UL 143 #define INTEL_UCODE_DATA_LEN 2000 146 #define INTEL_UCODE_ALIGN 1024 179 #define AMD_UCODE_MAGIC ( ( 'A' << 16 ) | ( 'M' << 8 ) | ( 'D' << 0 ) ) 182 #define AMD_UCODE_EQUIV_TYPE 0x00000000UL 219 #define AMD_UCODE_PATCH_TYPE 0x00000001UL uint16_t id
Equivalence ID.
uint8_t century
Century (BCD)
uint32_t apic_unexpected
Unexpected APIC ID.
uint32_t checksum
Checksum.
An Intel microcode extended signature.
uint32_t signature
CPUID signature (or 0 to terminate list)
unsigned long long uint64_t
uint64_t desc
Microcode descriptor list physical address.
uint8_t ver_clear
Microcode version requires manual clear.
A microcode update descriptor.
uint32_t signature
CPU signature.
uint64_t status
Microcode status array physical address.
uint32_t apic_max
Maximum expected APIC ID.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int32_t after
Final microcode version.
void() mp_func_t(mp_addr_t opaque, unsigned int cpuid)
A multiprocessor function.
uint8_t reserved_b[14]
Reserved.
An AMD microcode equivalence table entry.
A microcode update control.
uint8_t reserved_a[16]
Reserved.
uint32_t apic_mask
APIC ID eligibility mask bits.
uint8_t reserved_a[8]
Reserved.
uint32_t platforms
Supported platforms.
int32_t before
Initial microcode version.
struct ucode_control __attribute__((packed))
uint32_t id
APIC ID (for sanity checking)
uint32_t signature
CPU signature.
Multiprocessor functions.
uint32_t apic_test
APIC ID eligibility test bits.
A microcode update status report.
uint32_t trigger_msr
Microcode load trigger MSR.
uint32_t signature
CPUID signature.
uint8_t reserved_b[2]
Reserved.
uint16_t id
Equivalence ID.
int32_t version
Microcode version.
int32_t version
Microcode version.
uint8_t ver_high
Microcode version is reported via high dword.
uint64_t address
Microcode physical address.
struct ucode_date date
Date.