-
- Downloads
mcs: Add a scheduling context object
This is the first part of the seL4 MCS. This commit: * adds a scheduling context object. Threads without scheduling context objects cannot be scheduled. * replaces tcbTimeSlice with the scheduling context object * adds seL4_SchedControl caps for each core * adds seL4_SchedControl_Configure which allows users to configure amount of ticks a scheduling context has, and set a core for the scheduling context. * adds seL4_SchedContext_Bind, Unbind and UnbindObject, which allows a tcb to be bound to a scheduling context.
Showing
- config.cmake 13 additions, 1 deletionconfig.cmake
- configs/seL4Config.cmake 4 additions, 0 deletionsconfigs/seL4Config.cmake
- include/32/mode/api/ipc_buffer.h 24 additions, 0 deletionsinclude/32/mode/api/ipc_buffer.h
- include/64/mode/api/ipc_buffer.h 24 additions, 0 deletionsinclude/64/mode/api/ipc_buffer.h
- include/api/syscall.h 2 additions, 0 deletionsinclude/api/syscall.h
- include/api/types.h 1 addition, 0 deletionsinclude/api/types.h
- include/arch/arm/arch/32/mode/object/structures.bf 4 additions, 0 deletionsinclude/arch/arm/arch/32/mode/object/structures.bf
- include/arch/arm/arch/64/mode/object/structures.bf 4 additions, 0 deletionsinclude/arch/arm/arch/64/mode/object/structures.bf
- include/arch/x86/arch/32/mode/object/structures.bf 4 additions, 0 deletionsinclude/arch/x86/arch/32/mode/object/structures.bf
- include/arch/x86/arch/64/mode/object/structures.bf 4 additions, 0 deletionsinclude/arch/x86/arch/64/mode/object/structures.bf
- include/config.h 8 additions, 0 deletionsinclude/config.h
- include/kernel/boot.h 7 additions, 0 deletionsinclude/kernel/boot.h
- include/model/statedata.h 4 additions, 0 deletionsinclude/model/statedata.h
- include/object/schedcontext.h 62 additions, 0 deletionsinclude/object/schedcontext.h
- include/object/schedcontrol.h 23 additions, 0 deletionsinclude/object/schedcontrol.h
- include/object/structures.h 54 additions, 0 deletionsinclude/object/structures.h
- include/object/structures_32.bf 16 additions, 0 deletionsinclude/object/structures_32.bf
- include/object/structures_64.bf 17 additions, 0 deletionsinclude/object/structures_64.bf
- include/object/tcb.h 14 additions, 0 deletionsinclude/object/tcb.h
- libsel4/include/interfaces/sel4.xml 98 additions, 2 deletionslibsel4/include/interfaces/sel4.xml
Loading
Please register or sign in to comment