diff options
author | Richard Braun <rbraun@sceen.net> | 2017-05-19 18:50:00 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-05-19 18:50:00 +0200 |
commit | 3c203f5b93f23927a1e046f120a1a9438c5213bc (patch) | |
tree | 1c90067403817170ebc6d2f2870f6c5693267f73 | |
parent | 8703a289f532a789d95cae7469055d202e160d73 (diff) |
x86/trap: improve trap_get_interrupt_stack description
-rw-r--r-- | arch/x86/machine/trap.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/machine/trap.h b/arch/x86/machine/trap.h index ea0edc30..2f53f170 100644 --- a/arch/x86/machine/trap.h +++ b/arch/x86/machine/trap.h @@ -152,7 +152,11 @@ void trap_frame_show(struct trap_frame *frame); void trap_stack_show(struct trap_frame *frame); /* - * Return the interrupt stack for the current thread. + * Return a pointer to the local interrupt stack. + * + * This function is called by the low level trap handling code. + * + * Return NULL if no stack switching is required. */ void * trap_get_interrupt_stack(const struct trap_frame *frame); |