next up previous contents index
Next: (X86 PC) Base Environment: Up: (X86 PC) Base Environment: Previous: 15.12.7 base_irq_softint_request: request a

15.12.8 base_irq_softint_handler: Pointer to handler for software interrupts

   

SYNOPSIS

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

void (*base_irq_softint_handler ) (struct trap_state *ts);

DESCRIPTION

Pointer to a software interrupt handler called by the interrupt entry/exit stub code when a software interrupt has been requested and needs to be run. The default value of this pointer is the function base_irq_softint_default_handler, which simply returns; to use software interrupts, the kernel must override it.

The handler is free to examine and modify the processor state in state.

PARAMETERS

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

DEPENDENCIES

struct trap_state
15.8.1



Utah Flux Research Group