genode/repos/os/run
Norman Feske 17c79a9e23 base: avoid use of deprecated base/printf.h
Besides adapting the components to the use of base/log.h, the patch
cleans up a few base headers, i.e., it removes unused includes from
root/component.h, specifically base/heap.h and
ram_session/ram_session.h. Hence, components that relied on the implicit
inclusion of those headers have to manually include those headers now.

While adjusting the log messages, I repeatedly stumbled over the problem
that printing char * arguments is ambiguous. It is unclear whether to
print the argument as pointer or null-terminated string. To overcome
this problem, the patch introduces a new type 'Cstring' that allows the
caller to express that the argument should be handled as null-terminated
string. As a nice side effect, with this type in place, the optional len
argument of the 'String' class could be removed. Instead of supplying a
pair of (char const *, size_t), the constructor accepts a 'Cstring'.
This, in turn, clears the way let the 'String' constructor use the new
output mechanism to assemble a string from multiple arguments (and
thereby getting rid of snprintf within Genode in the near future).

To enforce the explicit resolution of the char * ambiguity, the 'char *'
overload of the 'print' function is marked as deleted.

Issue #1987
2016-08-29 17:27:10 +02:00
..
ahci_bench.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
ahci_blk.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
audio_out_click.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
blk_cache.run sel4: adjust qemu memory in same basic run scripts 2016-08-10 11:07:57 +02:00
blk.run block layer: transition to new API 2016-08-29 17:23:20 +02:00
bomb.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
clipboard.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
config_args.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
cpu_quota.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
cpufreq.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
demo.run Ajdust run scenarios for strict policy matching 2016-06-22 12:21:41 +02:00
dynamic_config_loader.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
dynamic_config_slave.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
dynamic_config.run Adjust run scripts for loss of ROM filename argument 2016-07-11 13:31:36 +02:00
fault_detection.run sel4: adjust qemu memory in same basic run scripts 2016-08-10 11:07:57 +02:00
fb_bench.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
framebuffer.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
fs_log.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
gpio_drv.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
gpio_led.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
gpio_signal.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
input.run Enable linux in input run script 2016-08-10 11:07:56 +02:00
kdb_uart_drv.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
loader.run Ajdust run scenarios for strict policy matching 2016-06-22 12:21:41 +02:00
mixer.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
nic_loopback.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
panda_uart4_echo.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
part_blk.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
ram_fs_chunk.run Log name of exiting child from Child::exit() 2014-09-11 10:23:39 +02:00
report_rom.run base: avoid use of deprecated base/printf.h 2016-08-29 17:27:10 +02:00
resource_request.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
resource_yield.run base: avoid use of deprecated base/printf.h 2016-08-29 17:27:10 +02:00
rom_blk.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
rom_filter.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
rom_to_file.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
rtc.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
sd_card_bench.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
sd_card.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
signal.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
synced_interface.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
tar_rom.run sel4: adjust qemu memory in same basic run scripts 2016-08-10 11:07:57 +02:00
terminal_crosslink.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
thread_join.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
timed_semaphore.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
timer.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
trace.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
tz_vmm.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
uart.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
usb_block.run Ajdust run scenarios for strict policy matching 2016-06-22 12:21:41 +02:00
vfs_stress_fs.run Ajdust run scenarios for strict policy matching 2016-06-22 12:21:41 +02:00
vfs_stress_ram.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
vmm.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
volatile_object.run Remove inconsistent use of 'is_' prefix 2016-05-23 15:52:39 +02:00
weak_ptr.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
xml_generator.run Omit superfluous use of "CAP"/"SIGNAL" services 2016-05-09 13:24:51 +02:00
xml_node.run Improve tokenizing to support XML comments 2016-06-06 09:37:47 +02:00