1 /* 2 * WARNING: This file is autogenerated from scripts/gen_enums.py. If you would 3 * like to access an enum that is currently missing, add it to the script 4 * and run it from the root directory to update this file. 5 */ 6 7 #define SCX_ENUM_INIT(skel) do { \ 8 SCX_ENUM_SET(skel, scx_public_consts, SCX_OPS_NAME_LEN); \ 9 SCX_ENUM_SET(skel, scx_public_consts, SCX_SLICE_DFL); \ 10 SCX_ENUM_SET(skel, scx_public_consts, SCX_SLICE_INF); \ 11 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_FLAG_BUILTIN); \ 12 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_FLAG_LOCAL_ON); \ 13 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_INVALID); \ 14 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_GLOBAL); \ 15 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_LOCAL); \ 16 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_LOCAL_ON); \ 17 SCX_ENUM_SET(skel, scx_dsq_id_flags, SCX_DSQ_LOCAL_CPU_MASK); \ 18 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_QUEUED); \ 19 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_RESET_RUNNABLE_AT); \ 20 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_DEQD_FOR_SLEEP); \ 21 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_STATE_SHIFT); \ 22 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_STATE_BITS); \ 23 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_STATE_MASK); \ 24 SCX_ENUM_SET(skel, scx_ent_flags, SCX_TASK_CURSOR); \ 25 SCX_ENUM_SET(skel, scx_task_state, SCX_TASK_NONE); \ 26 SCX_ENUM_SET(skel, scx_task_state, SCX_TASK_INIT); \ 27 SCX_ENUM_SET(skel, scx_task_state, SCX_TASK_READY); \ 28 SCX_ENUM_SET(skel, scx_task_state, SCX_TASK_ENABLED); \ 29 SCX_ENUM_SET(skel, scx_task_state, SCX_TASK_NR_STATES); \ 30 SCX_ENUM_SET(skel, scx_ent_dsq_flags, SCX_TASK_DSQ_ON_PRIQ); \ 31 SCX_ENUM_SET(skel, scx_kick_flags, SCX_KICK_IDLE); \ 32 SCX_ENUM_SET(skel, scx_kick_flags, SCX_KICK_PREEMPT); \ 33 SCX_ENUM_SET(skel, scx_kick_flags, SCX_KICK_WAIT); \ 34 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_WAKEUP); \ 35 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_HEAD); \ 36 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_PREEMPT); \ 37 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_REENQ); \ 38 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_LAST); \ 39 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_CLEAR_OPSS); \ 40 SCX_ENUM_SET(skel, scx_enq_flags, SCX_ENQ_DSQ_PRIQ); \ 41 } while (0) 42