diff --git a/executer/include/uprotocol.h b/executer/include/uprotocol.h index e8dfe0ec..6c94ad86 100644 --- a/executer/include/uprotocol.h +++ b/executer/include/uprotocol.h @@ -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; diff --git a/kernel/include/syscall.h b/kernel/include/syscall.h index 1a107854..4d878290 100644 --- a/kernel/include/syscall.h +++ b/kernel/include/syscall.h @@ -224,12 +224,17 @@ struct ikc_scd_packet { 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 { /* TID of the thread that requested the service */ int ttid; /* TID of the mcexec thread that is serving the request */ int stid; unsigned long status; + unsigned long req_thread_status; long ret; unsigned long fault_address; unsigned long fault_reason;