mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
vfs: add Rom_file_system::dataspace
By providing this function, we can start a mounted ROM module as program under Noux.
This commit is contained in:
parent
900c795df2
commit
fc6c2537ee
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user