Subversion Repositories HelenOS-historic

Rev

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

Rev 614 Rev 615
Line 109... Line 109...
109
{
109
{
110
    struct exception_regdump *pstate = (struct exception_regdump *)data;
110
    struct exception_regdump *pstate = (struct exception_regdump *)data;
111
    tlb_invalid(pstate);
111
    tlb_invalid(pstate);
112
}
112
}
113
 
113
 
-
 
114
#ifdef CONFIG_FPU_LAZY
114
static void cpuns_exception(int n, void *data)
115
static void cpuns_exception(int n, void *data)
115
{
116
{
116
    if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
117
    if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
117
        scheduler_fpu_lazy_request();
118
        scheduler_fpu_lazy_request();
118
    else
119
    else
119
        panic("unhandled Coprocessor Unusable Exception\n");
120
        panic("unhandled Coprocessor Unusable Exception\n");
120
}
121
}
-
 
122
#endif
121
 
123
 
122
static void interrupt_exception(int n, void *pstate)
124
static void interrupt_exception(int n, void *pstate)
123
{
125
{
124
    __u32 cause;
126
    __u32 cause;
125
    int i;
127
    int i;