syscall_response: introduction of req_thread_status field
This commit is contained in:
@ -135,12 +135,17 @@ struct syscall_load_desc {
|
|||||||
unsigned long size;
|
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 {
|
struct syscall_response {
|
||||||
/* TID of the thread that requested the service */
|
/* TID of the thread that requested the service */
|
||||||
int ttid;
|
int ttid;
|
||||||
/* TID of the mcexec thread that is serving or has served the request */
|
/* TID of the mcexec thread that is serving or has served the request */
|
||||||
int stid;
|
int stid;
|
||||||
unsigned long status;
|
unsigned long status;
|
||||||
|
unsigned long req_thread_status;
|
||||||
long ret;
|
long ret;
|
||||||
unsigned long fault_address;
|
unsigned long fault_address;
|
||||||
unsigned long fault_reason;
|
unsigned long fault_reason;
|
||||||
|
|||||||
@ -224,12 +224,17 @@ struct ikc_scd_packet {
|
|||||||
char padding[12];
|
char padding[12];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#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 {
|
struct syscall_response {
|
||||||
/* TID of the thread that requested the service */
|
/* TID of the thread that requested the service */
|
||||||
int ttid;
|
int ttid;
|
||||||
/* TID of the mcexec thread that is serving the request */
|
/* TID of the mcexec thread that is serving the request */
|
||||||
int stid;
|
int stid;
|
||||||
unsigned long status;
|
unsigned long status;
|
||||||
|
unsigned long req_thread_status;
|
||||||
long ret;
|
long ret;
|
||||||
unsigned long fault_address;
|
unsigned long fault_address;
|
||||||
unsigned long fault_reason;
|
unsigned long fault_reason;
|
||||||
|
|||||||
Reference in New Issue
Block a user