RTOS for mixed criticality applications deployed on NoC-based COTS MPSoC