1 #ifndef _VX_CONTEXT_CMD_H
2 #define _VX_CONTEXT_CMD_H
7 #define VCMD_task_xid VC_CMD(VINFO, 1, 0)
10 #define VCMD_vx_info VC_CMD(VINFO, 5, 0)
12 struct vcmd_vx_info_v0 {
19 #define VCMD_ctx_stat VC_CMD(VSTAT, 0, 0)
21 struct vcmd_ctx_stat_v0 {
28 /* context commands */
30 #define VCMD_ctx_create_v0 VC_CMD(VPROC, 1, 0)
31 #define VCMD_ctx_create_v1 VC_CMD(VPROC, 1, 1)
32 #define VCMD_ctx_create VC_CMD(VPROC, 1, 2)
34 struct vcmd_ctx_create {
38 #define VCMD_ctx_migrate_v0 VC_CMD(PROCMIG, 1, 0)
39 #define VCMD_ctx_migrate_v1 VC_CMD(PROCMIG, 1, 1)
40 #define VCMD_ctx_migrate VC_CMD(PROCMIG, 1, 2)
42 struct vcmd_ctx_migrate {
50 #define VCMD_get_cflags VC_CMD(FLAGS, 1, 0)
51 #define VCMD_set_cflags VC_CMD(FLAGS, 2, 0)
53 struct vcmd_ctx_flags_v0 {
60 /* context caps commands */
62 #define VCMD_get_ccaps_v0 VC_CMD(FLAGS, 3, 0)
63 #define VCMD_set_ccaps_v0 VC_CMD(FLAGS, 4, 0)
65 struct vcmd_ctx_caps_v0 {
71 #define VCMD_get_ccaps VC_CMD(FLAGS, 3, 1)
72 #define VCMD_set_ccaps VC_CMD(FLAGS, 4, 1)
74 struct vcmd_ctx_caps_v1 {
83 #define VCMD_get_bcaps VC_CMD(FLAGS, 9, 0)
84 #define VCMD_set_bcaps VC_CMD(FLAGS, 10, 0)
95 #define VCMD_get_umask VC_CMD(FLAGS, 13, 0)
96 #define VCMD_set_umask VC_CMD(FLAGS, 14, 0)
107 #define VCMD_get_badness VC_CMD(MEMCTRL, 5, 0)
108 #define VCMD_set_badness VC_CMD(MEMCTRL, 6, 0)
110 struct vcmd_badness_v0 {
114 #endif /* _VX_CONTEXT_CMD_H */