syscall_response: introduction of req_thread_status field

This commit is contained in:
Balazs Gerofi
2016-08-16 08:53:41 +09:00
parent 6ff2d4abe7
commit 5e9957da0f
2 changed files with 10 additions and 0 deletions

View File

@ -135,12 +135,17 @@ struct syscall_load_desc {
unsigned long size;
};
#define IHK_SCD_REQ_THREAD_SPINNING 0
#define IHK_SCD_REQ_THREAD_TO_BE_WOKEN 1
#define IHK_SCD_REQ_THREAD_DESCHEDULED 2
struct syscall_response {
/* TID of the thread that requested the service */
int ttid;
/* TID of the mcexec thread that is serving or has served the request */
int stid;
unsigned long status;
unsigned long req_thread_status;
long ret;
unsigned long fault_address;
unsigned long fault_reason;