Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754124AbYGYQRr (ORCPT ); Fri, 25 Jul 2008 12:17:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751983AbYGYQR2 (ORCPT ); Fri, 25 Jul 2008 12:17:28 -0400 Received: from outbound-sin.frontbridge.com ([207.46.51.80]:26652 "EHLO SG2EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbYGYQR1 (ORCPT ); Fri, 25 Jul 2008 12:17:27 -0400 X-BigFish: VPS7(zz1cddkzz10d3izzz32i43j66h) X-Spam-TCS-SCL: 5:0 X-WSS-ID: 0K4KL8I-01-GGQ-01 Message-ID: <20080725162003.105244040@amd.com> User-Agent: quilt/0.46_cvs20080326-19.1 Date: Fri, 25 Jul 2008 18:17:29 +0200 From: Peter Oruba To: Ingo Molnar , Thomas Gleixner , Tigran Aivazian CC: LKML , Peter Oruba Subject: [patch 6/9] [PATCH 6/9] x86: Add AMD specific declarations. References: <20080725161723.636932280@amd.com> Content-Disposition: inline; filename="0006-x86-Add-AMD-specific-declarations.patch" X-OriginalArrivalTime: 25 Jul 2008 16:17:08.0635 (UTC) FILETIME=[E2F2FEB0:01C8EE71] MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1663 Lines: 65 Added AMD specific declarations to header file. Signed-off-by: Peter Oruba --- include/asm-x86/microcode.h | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/microcode.h b/include/asm-x86/microcode.h index ef77c6f..4e94172 100644 --- a/include/asm-x86/microcode.h +++ b/include/asm-x86/microcode.h @@ -30,6 +30,35 @@ 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; @@ -37,5 +66,6 @@ struct ucode_cpu_info { unsigned int rev; union { struct microcode_intel *mc_intel; + struct microcode_amd *mc_amd; } mc; }; -- 1.5.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/