diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-07-28 12:44:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:52 -0400 |
commit | 9a56a0f80b52cb41c5e0add47c7ce0bb2ef25eb0 (patch) | |
tree | ae9392e650918c006d3a18f84fd80636da175054 /include/asm-x86/microcode.h | |
parent | e7f5b309c9bd6142f395c4a36123ebac4bcdc1b0 (diff) |
x86: moved Intel microcode patch loader declarations to seperate header file
Intel specific microcode declarations have been moved to a seperate header file.
There are no code changes to the code itself and no side effects to other parts.
Signed-off-by: Peter Oruba <peter.oruba@amd.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/microcode.h')
-rw-r--r-- | include/asm-x86/microcode.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/asm-x86/microcode.h b/include/asm-x86/microcode.h new file mode 100644 index 000000000000..5a0556855154 --- /dev/null +++ b/include/asm-x86/microcode.h | |||
@@ -0,0 +1,34 @@ | |||
1 | struct microcode_header { | ||
2 | unsigned int hdrver; | ||
3 | unsigned int rev; | ||
4 | unsigned int date; | ||
5 | unsigned int sig; | ||
6 | unsigned int cksum; | ||
7 | unsigned int ldrver; | ||
8 | unsigned int pf; | ||
9 | unsigned int datasize; | ||
10 | unsigned int totalsize; | ||
11 | unsigned int reserved[3]; | ||
12 | }; | ||
13 | |||
14 | struct microcode { | ||
15 | struct microcode_header hdr; | ||
16 | unsigned int bits[0]; | ||
17 | }; | ||
18 | |||
19 | typedef struct microcode microcode_t; | ||
20 | typedef struct microcode_header microcode_header_t; | ||
21 | |||
22 | /* microcode format is extended from prescott processors */ | ||
23 | struct extended_signature { | ||
24 | unsigned int sig; | ||
25 | unsigned int pf; | ||
26 | unsigned int cksum; | ||
27 | }; | ||
28 | |||
29 | struct extended_sigtable { | ||
30 | unsigned int count; | ||
31 | unsigned int cksum; | ||
32 | unsigned int reserved[3]; | ||
33 | struct extended_signature sigs[0]; | ||
34 | }; | ||