L4 Server Dynamic Loading

Alexander Valitov valitov79 at mail.ru
Mon Mar 30 11:50:31 CEST 2009


Hi,

> while we could specify the initial servers on grub.conf so
> that they would run when the system reboots, I'm wondering
> how could I dynamically load L4 servers after that? Any help
> would be appreciated

Take a look at 'run' example for loader package.
It's l4con application, it's able to load/kill applications at run
time (use 'h' for help).

Here is example of GRUB script:

kernel /boot/test/bootstrap
modaddr 0x02000000
module /boot/test/main2 -nokdb -serial_esc
module /boot/test/sigma0
module /boot/test/roottask task modname "bmodfs" attached 10 modules
module /boot/test/names --events
module /boot/test/log
module /boot/test/l4io --events
module /boot/test/events
module /boot/test/dm_phys --isa=0x00800000 -v -e
module /boot/test/simple_ts -t 300 -e -a
module /boot/test/rtc
module /boot/test/l4con -e
module /boot/l4/bmodfs
module /boot/test/libloader.s.so
module /boot/test/libld-l4.s.so
module /boot/test/hiworld
module /boot/test/con_demo1
module /boot/test/con_demo2
module /boot/test/con_demo3
module /boot/test/con_evdemo
module /boot/test/con_txtdemo
module /boot/test/con_exit_demo
module /boot/test/run
module /boot/test/loader -e --fprov=BMODFS run
vbeset 0x117

After boot, you could use 'l' + 'con_demo1' to start 'con_demo1'.
Then 'k' + taskID to kill con_demo1 (AltGr+F1 will turn you to 'run'
session)

Best Regards,
  Alexander Valitov
-- 
View this message in context: http://www.nabble.com/L4-Server-Dynamic-Loading-tp22769741p22779668.html
Sent from the L4 mailing list archive at Nabble.com.





More information about the l4-hackers mailing list