summaryrefslogtreecommitdiff
path: root/arch/x86/machine/trap.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/trap.h')
-rw-r--r--arch/x86/machine/trap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/machine/trap.h b/arch/x86/machine/trap.h
index f25c5893..06275c4a 100644
--- a/arch/x86/machine/trap.h
+++ b/arch/x86/machine/trap.h
@@ -126,6 +126,13 @@ void trap_main(struct trap_frame *frame);
*/
void trap_frame_show(struct trap_frame *frame);
+/*
+ * Load a context saved in a trap frame.
+ *
+ * The caller context is lost.
+ */
+void __noreturn trap_load(struct trap_frame *frame);
+
#endif /* __ASSEMBLER__ */
#endif /* _X86_TRAP_H */