Thank you Alex,
Hi,
try to add "name::/s0/timer" to the hello config.
Cheers,
Alexander Böttcher.
Mehdi AICHOUCH <foxmehdi@gmail.com> schrieb:
Hello everyone,I am trying to test the NOVA+NUL microhypervisor.I played with the test application "nul/michal/apps/tests/startstop".So, I modified this test to try a new a new test case, by modifying the "hello" program that isstarted by the "startstop" program.I added to the Hello program the following code :...TimerHelper * timer;timer = new TimerHelper(this);while(1) {Logging::printf("Hello ... \n", now);timer->msleep(1000);}...This simple code will print a message and suspend the Hello program for 1 second.The problem is that when I tested this program alone, it worked perfectlybut when this same program is started by the "startstop" program using start_config(), it does not suspendon the msleep(1000).Is my test correct or allowed by the NOVA-NUL microhypervisor?If it is the case, could anyone please help to debug this issue.Many thanks in advance.MehdiPS: this is my configuration script.#!/usr/bin/env novaboot# -*-sh-*-HYPERVISOR_PARAMS=serialQEMU_FLAGS=-cpu phenom -smp 1 -serial stdiobin/apps/sigma0.nul tracebuffer_verbose S0_DEFAULT hostserial hostvga hostkeyb:0,0x60,1,12,2 \script_start:1 script_waitchild service_configbin/apps/startstop.nulbin/apps/startstop.nulconfig <<EOFsigma0::cpu:1 sigma0::mem:16 name::/s0/log name::/s0/config name::/s0/timer name::/s0/fs/rom name::/s0/admission ||rom://bin/apps/startstop.nul rom://test.nulconfigEOFbin/apps/hello.nultest.nulconfig <<EOFsigma0::cpu:1 sigma0::mem:16 name::/s0/log name::/s0/admission ||rom://bin/apps/hello.nulEOF