x86: major refactoring
commit8d86f390d9bb5b39f0a315838d1616de6363e1b9
authorPeter Oruba <peter.oruba@amd.com>
Mon, 28 Jul 2008 16:44:21 +0000 (28 18:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Jul 2008 17:57:57 +0000 (28 19:57 +0200)
treef3857d76d029b87571ac5cb4e3c1bd9965c859f8
parent26bf7a48c33906cc3415a4492aa9ead7a75f1353
x86: major refactoring

Refactored code by introducing a two-module solution.

There is one general module in which vendor specific modules can hook into.
However, that is exclusive, there is only one vendor specific module
allowed at a time. A CPU vendor check makes sure only the correct
module for the underlying system gets called.

Functinally in terms of patch loading itself there are no changes. This
refactoring provides a basis for future implementations of other vendors'
patch loaders.

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>
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/microcode.c
arch/x86/kernel/microcode_intel.c
include/asm-x86/microcode.h