From fc6c2537ee4108ae9f718b5498bdd2c26013051b Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Mon, 18 Jan 2016 14:47:06 +0100 Subject: [PATCH] vfs: add Rom_file_system::dataspace By providing this function, we can start a mounted ROM module as program under Noux. --- repos/os/include/vfs/rom_file_system.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/repos/os/include/vfs/rom_file_system.h b/repos/os/include/vfs/rom_file_system.h index f4fbd6277..daa0adee0 100644 --- a/repos/os/include/vfs/rom_file_system.h +++ b/repos/os/include/vfs/rom_file_system.h @@ -62,6 +62,11 @@ class Vfs::Rom_file_system : public Single_file_system ** Directory-service interface ** ********************************/ + Dataspace_capability dataspace(char const *path) override + { + return _rom.cap(); + } + /* * Overwrite the default open function to update the ROM dataspace * each time when opening the corresponding file.