mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
platform: add suspend/resume interface to Io_mmu
genodelabs/genode#5180
This commit is contained in:
parent
8cd206a050
commit
7441aba6d5
@ -65,6 +65,9 @@ class Driver::Common : Device_reporter,
|
||||
Registry<Io_mmu_factory> & io_mmu_factories() {
|
||||
return _io_mmu_factories; }
|
||||
|
||||
Io_mmu_devices & io_mmu_devices() {
|
||||
return _io_mmu_devices; }
|
||||
|
||||
void announce_service();
|
||||
void handle_config(Xml_node config);
|
||||
void acquire_io_mmu_devices();
|
||||
|
@ -134,6 +134,10 @@ class Driver::Io_mmu : private Io_mmu_devices::Element
|
||||
|
||||
public:
|
||||
|
||||
/* suspend/resume interface */
|
||||
virtual void suspend() { }
|
||||
virtual void resume() { }
|
||||
|
||||
/* interface for adding default mappings (used for reserved memory) */
|
||||
virtual void add_default_range(Range const &, addr_t) { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user