#include <oskit/x86/base_trap.h>void trap_dump_panic(const struct trap_state *state);
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.
- state
- A pointer to the trap state structure to dump.
- trap_dump
- 10.8.6
- panic
- 9.7.3