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 **
|
** Directory-service interface **
|
||||||
********************************/
|
********************************/
|
||||||
|
|
||||||
|
Dataspace_capability dataspace(char const *path) override
|
||||||
|
{
|
||||||
|
return _rom.cap();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Overwrite the default open function to update the ROM dataspace
|
* Overwrite the default open function to update the ROM dataspace
|
||||||
* each time when opening the corresponding file.
|
* each time when opening the corresponding file.
|
||||||
|
|
Loading…
Reference in New Issue