-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: moved Intel microcode patch loader declarations to seperate head…
…er 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>
- Loading branch information
Peter Oruba
authored and
Ingo Molnar
committed
Jul 28, 2008
1 parent
e7f5b30
commit 9a56a0f
Showing
3 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
struct microcode_header { | ||
unsigned int hdrver; | ||
unsigned int rev; | ||
unsigned int date; | ||
unsigned int sig; | ||
unsigned int cksum; | ||
unsigned int ldrver; | ||
unsigned int pf; | ||
unsigned int datasize; | ||
unsigned int totalsize; | ||
unsigned int reserved[3]; | ||
}; | ||
|
||
struct microcode { | ||
struct microcode_header hdr; | ||
unsigned int bits[0]; | ||
}; | ||
|
||
typedef struct microcode microcode_t; | ||
typedef struct microcode_header microcode_header_t; | ||
|
||
/* microcode format is extended from prescott processors */ | ||
struct extended_signature { | ||
unsigned int sig; | ||
unsigned int pf; | ||
unsigned int cksum; | ||
}; | ||
|
||
struct extended_sigtable { | ||
unsigned int count; | ||
unsigned int cksum; | ||
unsigned int reserved[3]; | ||
struct extended_signature sigs[0]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters