next up previous contents index
Next: 10.12.6 base_irq_nest: interrupt nesting Up: (X86 PC) Base Environment: Previous: 10.12.4 base_irq_inittab: initialization table

10.12.5 base_irq_default_handler: default IRQ handler for unexpected interrupts

   

SYNOPSIS

#include <oskit/x86/pc/base_irq.h>

void base_irq_default_handler(struct trap_state *state);

DESCRIPTION

This routine is the default handler for all interrupts in the base environment. It simply displays a warning message and returns.

It is expected that the client OS will override this default behavior for all interrupts it cares about, leaving this routine to be called only for unexpected interrupts.

PARAMETERS

state
A pointer to the processor state at the time of the interrupt.

DEPENDENCIES

struct trap_state
10.8.1
printf
9.6



University of Utah Flux Research Group