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

    r6f9a9bc r874621f  
    4747#include <ipc/irq.h>
    4848#include <ipc/ipc.h>
     49#include <interrupt.h>
    4950
    5051
     
    151152        char *desc = "";
    152153
    153         dump_interrupted_context(istate);
    154 
    155154        switch (istate->cr_isr.ge_code) {
    156155            case GE_ILLEGALOP:
     
    177176        }
    178177
     178        fault_if_from_uspace(istate, "General Exception (%s)", desc);
     179
     180        dump_interrupted_context(istate);
    179181        panic("General Exception (%s)\n", desc);
    180182}
     
    187189        scheduler_fpu_lazy_request();   
    188190#else
     191        fault_if_from_uspace(istate, "Interruption: %#hx (%s)", (__u16) vector, vector_to_string(vector));
    189192        dump_interrupted_context(istate);
    190193        panic("Interruption: %#hx (%s)\n", (__u16) vector, vector_to_string(vector));
     
    268271        /* TODO */
    269272}
    270 
    271 
    272 
Note: See TracChangeset for help on using the changeset viewer.