Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113318
b: refs/heads/master
c: 9835fd4
h: refs/heads/master
v: v3
  • Loading branch information
Peter Oruba authored and Ingo Molnar committed Jul 28, 2008
1 parent 5bc7963 commit 55662ca
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4ee36686853d5714437c4409f17ad42bfaf4211
refs/heads/master: 9835fd4ad9ee5fc6b909df72aa3e3dba04415f4b
30 changes: 30 additions & 0 deletions trunk/include/asm-x86/microcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,42 @@ struct extended_sigtable {
struct extended_signature sigs[0];
};

struct equiv_cpu_entry {
unsigned int installed_cpu;
unsigned int fixed_errata_mask;
unsigned int fixed_errata_compare;
unsigned int equiv_cpu;
};

struct microcode_header_amd {
unsigned int data_code;
unsigned int patch_id;
unsigned char mc_patch_data_id[2];
unsigned char mc_patch_data_len;
unsigned char init_flag;
unsigned int mc_patch_data_checksum;
unsigned int nb_dev_id;
unsigned int sb_dev_id;
unsigned char processor_rev_id[2];
unsigned char nb_rev_id;
unsigned char sb_rev_id;
unsigned char bios_api_rev;
unsigned char reserved1[3];
unsigned int match_reg[8];
};

struct microcode_amd {
struct microcode_header_amd hdr;
unsigned int mpb[0];
};

struct ucode_cpu_info {
int valid;
unsigned int sig;
unsigned int pf;
unsigned int rev;
union {
struct microcode_intel *mc_intel;
struct microcode_amd *mc_amd;
} mc;
};

0 comments on commit 55662ca

Please sign in to comment.