mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-21 03:55:04 +00:00
parent
731a98c266
commit
8f849c9438
@ -33,8 +33,16 @@ struct Rom::Registry : Rom::Registry_for_reader, Rom::Registry_for_writer
|
|||||||
/**
|
/**
|
||||||
* Rom::Registry_for_writer interface
|
* Rom::Registry_for_writer interface
|
||||||
*/
|
*/
|
||||||
Module &lookup(Writer &, Module::Name const &) override { return module; }
|
Module &lookup(Writer &writer, Module::Name const &) override
|
||||||
void release(Writer &, Module &) override { }
|
{
|
||||||
|
module._register(writer);
|
||||||
|
return module;
|
||||||
|
}
|
||||||
|
|
||||||
|
void release(Writer &writer, Module &) override
|
||||||
|
{
|
||||||
|
module._unregister(writer);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rom::Registry_for_reader interface
|
* Rom::Registry_for_reader interface
|
||||||
|
Loading…
Reference in New Issue
Block a user