mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
be14e68a83
commit
9e97393e3a
@ -170,8 +170,11 @@ class Vfs::Rom_file_system : public Single_file_system
|
||||
catch (Genode::Out_of_caps) { return OPEN_ERR_OUT_OF_CAPS; }
|
||||
}
|
||||
|
||||
Dataspace_capability dataspace(char const *) override
|
||||
Dataspace_capability dataspace(char const *path) override
|
||||
{
|
||||
if (!_single_file(path))
|
||||
return Genode::Dataspace_capability();
|
||||
|
||||
return _rom.cap();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user