-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from lsds/ken/sgxlkl709
Signal to be delivered on the correct thread.
- Loading branch information
Showing
9 changed files
with
399 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
#ifndef _ASM_LKL_SIGNAL_H | ||
#define _ASM_LKL_SIGNAL_H | ||
#include <asm-generic/signal.h> | ||
|
||
struct ucontext; | ||
void do_signal(struct pt_regs *regs); | ||
|
||
struct thread_info; | ||
struct ksignal_list_node; | ||
struct ksignal; | ||
|
||
void lkl_process_trap(int signr, struct ucontext *uctx); | ||
|
||
/* | ||
* Capture pending signals and move them to a task-specific list. | ||
* Must be called only with the cpu lock held. | ||
*/ | ||
|
||
#include <asm-generic/signal.h> | ||
void move_signals_to_task(void); | ||
|
||
/* | ||
* Send any signals targeting this task. | ||
* Must be called only with the cpu lock held, it will be unlocked for the call to user code. | ||
*/ | ||
|
||
void send_current_signals(struct ucontext *uctx); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.