genode/repos/gems/run/magic_ring_buffer.run
Emery Hemingway 68c1b8675c gems: magic ring buffer
A ring buffer that uses a single dataspace mapped twice in consecutive
regions. This allows any operation that is less or equal to the size of
the buffer to be read or written in a single pass. The capacity of
Magic_ring_buffer is defined at runtime.

Fix #2725
2018-04-10 11:09:47 +02:00

30 lines
594 B
Plaintext

create_boot_directory
install_config {
<config>
<parent-provides>
<service name="CPU"/>
<service name="LOG"/>
<service name="PD"/>
<service name="RM"/>
<service name="ROM"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-magic_ring_buffer" caps="64">
<resource name="RAM" quantum="2M"/>
</start>
</config>
}
build "core init test/magic_ring_buffer"
build_boot_image {
core ld.lib.so init test-magic_ring_buffer
}
append qemu_args " -nographic "
run_genode_until "child .* exited with exit value 0.*\n" 10