Subversion Repositories HelenOS-historic

Rev

Rev 590 | Rev 609 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 590 Rev 593
Line 101... Line 101...
101
{
101
{
102
    struct exception_regdump *pstate = (struct exception_regdump *)data;
102
    struct exception_regdump *pstate = (struct exception_regdump *)data;
103
    tlb_invalid(pstate);
103
    tlb_invalid(pstate);
104
}
104
}
105
 
105
 
106
static void cpunsbl_exception(int n, void *data)
106
static void cpuns_exception(int n, void *data)
107
{
107
{
108
    if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
108
    if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
109
        scheduler_fpu_lazy_request();
109
        scheduler_fpu_lazy_request();
110
    else
110
    else
111
        panic("unhandled Coprocessor Unusable Exception\n");
111
        panic("unhandled Coprocessor Unusable Exception\n");
Line 177... Line 177...
177
    exc_register(EXC_Mod, "tlb_mod", tlbmod_exception);
177
    exc_register(EXC_Mod, "tlb_mod", tlbmod_exception);
178
    exc_register(EXC_TLBL, "tlbinvl", tlbinv_exception);
178
    exc_register(EXC_TLBL, "tlbinvl", tlbinv_exception);
179
    exc_register(EXC_TLBS, "tlbinvl", tlbinv_exception);
179
    exc_register(EXC_TLBS, "tlbinvl", tlbinv_exception);
180
    exc_register(EXC_Int, "interrupt", interrupt_exception);
180
    exc_register(EXC_Int, "interrupt", interrupt_exception);
181
#ifdef CONFIG_FPU_LAZY
181
#ifdef CONFIG_FPU_LAZY
182
    exc_register(EXC_CpU, "cpunus", cpun_exception);
182
    exc_register(EXC_CpU, "cpunus", cpuns_exception);
183
#endif
183
#endif
184
}
184
}