/* Enable stacking of FPU registers on exception entry.  */
void am_hal_sysctrl_fpu_stacking_enable(bool bLazy)
/* Enable stacking of FPU registers on exception entry.  */
void am_hal_sysctrl_fpu_stacking_enable(bool bLazy)
{
    if ( bLazy )
    {
        AM_REG(SYSCTRL, FPCCR) |= (AM_REG_SYSCTRL_FPCCR_ASPEN(0x1) |
                                   AM_REG_SYSCTRL_FPCCR_LSPEN(0x1));
    }
    else
    {
        AM_REG(SYSCTRL, FPCCR) |= AM_REG_SYSCTRL_FPCCR_ASPEN(0x1);
    }
}