Changeset 874621f in mainline for arch/amd64/src/interrupt.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/amd64/src/interrupt.c

    r6f9a9bc r874621f  
    8080void null_interrupt(int n, istate_t *istate)
    8181{
     82        fault_if_from_uspace(istate, "unserviced interrupt: %d", n);
    8283        print_info_errcode(n, istate);
    8384        panic("unserviced interrupt\n");
     
    105106                        return;
    106107                }
     108                fault_if_from_uspace(istate, "general protection fault");
    107109        }
    108110
     
    113115void ss_fault(int n, istate_t *istate)
    114116{
     117        fault_if_from_uspace(istate, "stack fault");
    115118        print_info_errcode(n, istate);
    116119        panic("stack fault\n");
     
    122125        scheduler_fpu_lazy_request();
    123126#else
     127        fault_if_from_uspace(istate, "fpu fault");
    124128        panic("fpu fault");
    125129#endif
Note: See TracChangeset for help on using the changeset viewer.