Changeset 874621f in mainline for arch/mips32/src/exception.c


Ignore:
Timestamp:
2006-06-06T07:40:51Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dbc4e7
Parents:
6f9a9bc
Message:

Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/exception.c

    r6f9a9bc r874621f  
    7979static void unhandled_exception(int n, istate_t *istate)
    8080{
     81        fault_if_from_uspace(istate, "unhandled exception %s", exctable[n]);
     82       
    8183        print_regdump(istate);
    8284        panic("unhandled exception %s\n", exctable[n]);
     
    120122        if (cp0_cause_coperr(cp0_cause_read()) == fpu_cop_id)
    121123                scheduler_fpu_lazy_request();
    122         else
     124        else {
     125                fault_if_from_uspace(istate, "unhandled Coprocessor Unusable Exception");
    123126                panic("unhandled Coprocessor Unusable Exception\n");
     127        }
    124128}
    125129#endif
Note: See TracChangeset for help on using the changeset viewer.