• Jacob Pan's avatar
    x86, pic: Introduce legacy_pic abstraction · ef354866
    Jacob Pan authored
    This patch makes i8259A like legacy programmable interrupt controller
    code into a driver so that legacy pic functions can be selected at
    runtime based on platform information, such as HW subarchitecure ID.
    Default structure of legacy_pic maintains the current code path for
    x86pc.
    Signed-off-by: default avatarJacob Pan <jacob.jun.pan@intel.com>
    LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D03@orsmsx508.amr.corp.intel.com>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    ef354866
i8259.c 10.2 KB