Message type for SYS_SCHEDCTL
Change-Id: Iaccbac1ef99124bc494b835e0d0cf999ea2e3f5a
This commit is contained in:
@@ -581,15 +581,10 @@
|
||||
#define SYS_STATE_CLEAR_IPC_REFS 1 /* clear IPC references */
|
||||
|
||||
/* Subfunctions for SYS_SCHEDCTL */
|
||||
#define SCHEDCTL_FLAGS m9_l1 /* flags for setting the scheduler */
|
||||
# define SCHEDCTL_FLAG_KERNEL 1 /* mark kernel scheduler and remove
|
||||
* RTS_NO_QUANTUM; otherwise caller is
|
||||
* marked scheduler
|
||||
*/
|
||||
#define SCHEDCTL_ENDPOINT m9_l2 /* endpt of process to be scheduled */
|
||||
#define SCHEDCTL_QUANTUM m9_l3 /* current scheduling quantum */
|
||||
#define SCHEDCTL_PRIORITY m9_s4 /* current scheduling priority */
|
||||
#define SCHEDCTL_CPU m9_l5 /* where to place this process */
|
||||
|
||||
/* Field names for SYS_PADCONF */
|
||||
#define PADCONF_PADCONF m2_i1 /* pad to configure */
|
||||
|
||||
@@ -563,6 +563,17 @@ typedef struct {
|
||||
} mess_pm_lexec_exec_new;
|
||||
_ASSERT_MSG_SIZE(mess_pm_lexec_exec_new);
|
||||
|
||||
typedef struct {
|
||||
uint32_t flags;
|
||||
endpoint_t endpoint;
|
||||
int priority;
|
||||
int quantum;
|
||||
int cpu;
|
||||
|
||||
uint8_t padding[36];
|
||||
} mess_lsys_krn_schedctl;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_krn_schedctl);
|
||||
|
||||
typedef struct {
|
||||
endpoint_t endpt;
|
||||
|
||||
@@ -1161,6 +1172,8 @@ typedef struct {
|
||||
|
||||
mess_lexec_pm_exec_new m_lexec_pm_exec_new;
|
||||
|
||||
mess_lsys_krn_schedctl m_lsys_krn_schedctl;
|
||||
|
||||
mess_lsys_pm_getepinfo m_lsys_pm_getepinfo;
|
||||
mess_lsys_pm_getprocnr m_lsys_pm_getprocnr;
|
||||
mess_lsys_pm_srv_fork m_lsys_pm_srv_fork;
|
||||
|
||||
Reference in New Issue
Block a user