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

13.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 13.8.6) to dump the specified trap state frame, and then calls panic (Section 12.8.3). It is invoked by the default trap entrypoint code (Section 13.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
13.8.6
panic
12.8.3



Utah Flux Research Group