Commit a0ac87d6 authored by Peter Oruba's avatar Peter Oruba Committed by Ingo Molnar

x86: AMD microcode patch loader style corrections

Signed-off-by: default avatarPeter Oruba <peter.oruba@amd.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3825c9e8
...@@ -47,9 +47,9 @@ MODULE_LICENSE("GPL v2"); ...@@ -47,9 +47,9 @@ MODULE_LICENSE("GPL v2");
#define UCODE_UCODE_TYPE 0x00000001 #define UCODE_UCODE_TYPE 0x00000001
#define UCODE_MAX_SIZE (2048) #define UCODE_MAX_SIZE (2048)
#define DEFAULT_UCODE_DATASIZE (896) /* 896 bytes */ #define DEFAULT_UCODE_DATASIZE (896)
#define MC_HEADER_SIZE (sizeof(struct microcode_header_amd)) /* 64 bytes */ #define MC_HEADER_SIZE (sizeof(struct microcode_header_amd))
#define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE) /* 960 bytes */ #define DEFAULT_UCODE_TOTALSIZE (DEFAULT_UCODE_DATASIZE + MC_HEADER_SIZE)
#define DWSIZE (sizeof(u32)) #define DWSIZE (sizeof(u32))
/* For now we support a fixed ucode total size only */ /* For now we support a fixed ucode total size only */
#define get_totalsize(mc) \ #define get_totalsize(mc) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment