core: simplify Rom_module and Rom_fs

* replace print_fs with Output::print equivalent
* use Avl_tree::for_each instead of own implementation
* extend constness

Ref #2159
This commit is contained in:
Stefan Kalkowski
2016-11-02 13:29:50 +01:00
committed by Christian Helmuth
parent e1ec39e476
commit f60cf697d2
9 changed files with 70 additions and 123 deletions

View File

@ -190,7 +190,7 @@ Platform::Platform() :
log(":io_mem: ", _io_mem_alloc);
log(":io_port: ", _io_port_alloc);
log(":irq: ", _irq_alloc);
log(":rom_fs: "); _rom_fs.print_fs();
log(":rom_fs: ", _rom_fs);
/* setup task object for core task */
_core_pd = new(core_mem_alloc()) Platform_pd(true);