Skip to content
  • Peter Oruba's avatar
    x86: major refactoring · 8d86f390
    Peter Oruba authored
    
    
    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: default avatarPeter Oruba <peter.oruba@amd.com>
    Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8d86f390