• Kumar Gala's avatar
    [POWERPC] Rework Book-E debug exception handling · eb0cd5fd
    Kumar Gala authored
    The architecture allows for "Book-E" style debug interrupts to either go
    to critial interrupts of their own debug interrupt level.  To allow for
    a dynamic kernel to support machines of either type we want to be able to
    compile in the interrupt handling code for both exception levels.
    
    Towards this goal we renamed the debug handling macros to specify the
    interrupt level in their name (DEBUG_CRIT_EXCEPTION/DebugCrit and
    DEBUG_DEBUG_EXCEPTION/DebugDebug).
    
    Additionally, on the Freescale Book-e parts we expanded the exception
    stacks to cover the maximum case of needing three exception stacks (normal,
    machine check and debug).
    
    There is some kernel text space optimization to be gained if a kernel is
    configured for a specific Freescale implementation but we aren't handling
    that now to allow for the single kernel image support.
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    eb0cd5fd
head_fsl_booke.S 26.5 KB