From fcc734e7f7c17ab11f8f91f932bd4896c8b87168 Mon Sep 17 00:00:00 2001 From: Peter Oruba Date: Mon, 28 Jul 2008 18:44:20 +0200 Subject: [PATCH] --- yaml --- r: 113319 b: refs/heads/master c: 26bf7a48c33906cc3415a4492aa9ead7a75f1353 h: refs/heads/master i: 113317: 5bc7963b804030f4811d81d65e922df5bf837c56 113315: 1104cb3fb5da842a4046f0a6f1e7746ddc69d375 113311: 9be5fcac0b70874267ad29afffbf7021533c4c0d v: v3 --- [refs] | 2 +- trunk/include/asm-x86/microcode.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index fd9adbd3b579..2e6e70e4b9b2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9835fd4ad9ee5fc6b909df72aa3e3dba04415f4b +refs/heads/master: 26bf7a48c33906cc3415a4492aa9ead7a75f1353 diff --git a/trunk/include/asm-x86/microcode.h b/trunk/include/asm-x86/microcode.h index 4e941721c0d1..9231c876e374 100644 --- a/trunk/include/asm-x86/microcode.h +++ b/trunk/include/asm-x86/microcode.h @@ -1,3 +1,16 @@ +struct microcode_ops { + long (*get_next_ucode)(void **mc, long offset); + long (*microcode_get_next_ucode)(void **mc, long offset); + int (*get_matching_microcode)(void *mc, int cpu); + int (*apply_microcode_check_cpu)(int cpu); + int (*microcode_sanity_check)(void *mc); + int (*cpu_request_microcode)(int cpu); + void (*collect_cpu_info)(int cpu_num); + void (*apply_microcode)(int cpu); + void (*microcode_fini_cpu)(int cpu); + void (*clear_patch)(void *data); +}; + struct microcode_header_intel { unsigned int hdrver; unsigned int rev;