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
unsigned long long uint64_t
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Multiprocessor functions.
void mp_func_t(mp_addr_t opaque, unsigned int cpuid)
A multiprocessor function.
An AMD microcode equivalence table entry.
uint8_t reserved_a[8]
Reserved.
uint32_t signature
CPU signature.
uint16_t id
Equivalence ID.
uint8_t reserved_b[2]
Reserved.
uint8_t reserved_b[14]
Reserved.
struct ucode_date date
Date.
uint8_t reserved_a[16]
Reserved.
int32_t version
Microcode version.
uint16_t id
Equivalence ID.
An Intel microcode extended signature.
uint32_t checksum
Checksum.
uint32_t platforms
Supported platforms.
uint32_t signature
CPUID signature.
A microcode update control.
uint64_t status
Microcode status array physical address.
uint32_t apic_max
Maximum expected APIC ID.
uint32_t trigger_msr
Microcode load trigger MSR.
uint32_t apic_test
APIC ID eligibility test bits.
uint8_t ver_clear
Microcode version requires manual clear.
uint32_t apic_mask
APIC ID eligibility mask bits.
uint64_t desc
Microcode descriptor list physical address.
uint32_t apic_unexpected
Unexpected APIC ID.
uint8_t ver_high
Microcode version is reported via high dword.
uint8_t century
Century (BCD)
A microcode update descriptor.
uint64_t address
Microcode physical address.
uint32_t signature
CPUID signature (or 0 to terminate list)
int32_t version
Microcode version.
A microcode update status report.
uint32_t id
APIC ID (for sanity checking)
int32_t after
Final microcode version.
int32_t before
Initial microcode version.
uint32_t signature
CPU signature.