next up previous contents index
Next: (X86) Base Environment: Page Up: (X86) Base Environment: Trap Previous: 10.8.6 trap_dump: dump a

10.8.7 trap_dump_panic: dump a saved trap state structure

   

SYNOPSIS

#include <oskit/x86/base_trap.h>

void trap_dump_panic(const struct trap_state *state);

DESCRIPTION

This function simply calls trap_dump (Section 10.8.6) to dump the specified trap state frame, and then calls panic (Section 9.7.3). It is invoked by the default trap entrypoint code (Section 10.8.3) if a trap occurs when there is no interrupt handler, or if there is an interrupt handler but it returns a failure indication.

PARAMETERS

state
A pointer to the trap state structure to dump.

DEPENDENCIES

trap_dump
10.8.6
panic
9.7.3



University of Utah Flux Research Group