Don't enforce the subsystem state if not in use
Fixes the Nanos6 test with level set to 1.
This commit is contained in:
parent
323933448a
commit
7f3608d932
@ -238,7 +238,7 @@ enforce_task_rules(struct ovni_emu *emu,
|
||||
struct ovni_chan *sschan = &th->chan[CHAN_NANOS6_SUBSYSTEM];
|
||||
int st = chan_get_st(sschan);
|
||||
|
||||
if(st != ST_NANOS6_TASK_BODY)
|
||||
if(st != 0 && st != ST_NANOS6_TASK_BODY)
|
||||
edie(emu, "a Nanos6 task starts running but not in the \"running body\" subsystem state\n");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user