mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
b618c9343e
This patch moves the os/config examples to their respective run scripts, removes some of them, and moves the priority example to the src/init directory (where other examples are located). Additionally, this patch adapts the OKL4-specific priority.run test to the recent changes of the timer interface.
38 lines
826 B
Plaintext
38 lines
826 B
Plaintext
build "core init test/bomb drivers/timer"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config prio_levels="2">
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="RAM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="CAP"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="SIGNAL"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>
|
|
<start name="timer">
|
|
<resource name="RAM" quantum="512K"/>
|
|
<provides><service name="Timer"/></provides>
|
|
</start>
|
|
<start name="bomb" priority="-1">
|
|
<resource name="RAM" quantum="2G"/>
|
|
</start>
|
|
</config>}
|
|
|
|
build_boot_image "core init bomb timer"
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
run_genode_until forever
|
|
|