ovni/test/emu
Rodrigo Arias 4b4f1bd218 Don't modify nOS-V subsystem state on task pause
In nOS-V, when a task was paused via the VTp event, two things were
happening: 1) the task state was set to pause and 2) the subsystem state
"Task: Running" was being popped.

This causes a problem when a task calls nosv_submit() in blocking mode,
as it will call nosv_pause() which will emit a VTp event from a
subsystem different than "Task: Running".

To solve this conflict, we handle the subsystems state and the task
state separately with the VTp and VTr events. The subsystem state "Task:
Running" no longer is connected to the state of the task and only shows
if we entered the body of the task or not. It has now been renamed to
"Task: In body".

The new state "Task: In body" represents that the task body has begun
the execution and is still in the stack, but the task may be paused. The
subsystem is not changed by the VTp (pause) or VTr (resume) events.

Fixes: https://pm.bsc.es/gitlab/rarias/ovni/-/issues/128
2023-10-23 11:26:17 +02:00
..
common Always use the project version 2023-07-07 10:42:40 +02:00
mpi Add MPI emu tests 2023-09-06 18:11:19 +02:00
nanos6 Add test to prevent re-running tasks in Nanos6 2023-04-17 15:58:19 +00:00
nosv Don't modify nOS-V subsystem state on task pause 2023-10-23 11:26:17 +02:00
ovni Fix segfault reading empty streams 2023-10-23 10:07:44 +02:00
tampi Add TAMPI emu tests 2023-08-22 18:13:29 +02:00
CMakeLists.txt Add MPI emu tests 2023-09-06 18:11:19 +02:00