base: rename 'Volatile_object' to 'Reconstructible'

Fixes #2151
This commit is contained in:
Norman Feske
2016-12-01 17:37:08 +01:00
parent 6fa87e62dd
commit 25a7ea3d40
76 changed files with 421 additions and 383 deletions

View File

@ -12,7 +12,7 @@
*/
/* Genode includes */
#include <util/volatile_object.h>
#include <util/reconstructible.h>
#include <util/arg_string.h>
#include <base/heap.h>
#include <base/component.h>
@ -30,7 +30,7 @@ namespace Dynamic_rom {
using Genode::Rpc_object;
using Genode::Sliced_heap;
using Genode::Env;
using Genode::Lazy_volatile_object;
using Genode::Constructible;
using Genode::Signal_context_capability;
using Genode::Signal_handler;
using Genode::Xml_node;
@ -54,7 +54,7 @@ class Dynamic_rom::Session_component : public Rpc_object<Genode::Rom_session>
unsigned _last_content_idx = ~0;
Signal_context_capability _sigh;
Lazy_volatile_object<Genode::Attached_ram_dataspace> _ram_ds;
Constructible<Genode::Attached_ram_dataspace> _ram_ds;
void _notify_client()
{

View File

@ -167,7 +167,7 @@ class Loader::Session_component : public Rpc_object<Session>
Signal_context_capability view_ready_sigh;
Lazy_volatile_object<Nitpicker::Session_component> session;
Constructible<Nitpicker::Session_component> session;
Local_nitpicker_factory(Entrypoint &ep, Ram_session &ram)
: _ep(ep), _ram(ram) { }
@ -215,7 +215,7 @@ class Loader::Session_component : public Rpc_object<Session>
Local_nitpicker_factory _nitpicker_factory { _env.ep(), _local_ram };
Local_nitpicker_service _nitpicker_service { _nitpicker_factory };
Signal_context_capability _fault_sigh;
Lazy_volatile_object<Child> _child;
Constructible<Child> _child;
/**
* Return virtual nitpicker session component

View File

@ -29,7 +29,7 @@ namespace Genode {
Attached_ram_dataspace _fg;
Attached_ram_dataspace _bg;
Lazy_volatile_object<Attached_rom_dataspace> _parent_rom;
Constructible<Attached_rom_dataspace> _parent_rom;
bool _bg_has_pending_data;

View File

@ -18,13 +18,13 @@
#include <net/ipv4.h>
#include <net/ethernet.h>
#include <util/avl_tree.h>
#include <util/volatile_object.h>
#include <util/reconstructible.h>
namespace Net {
class Arp_cache;
class Arp_cache_entry;
using Arp_cache_entry_slot = Genode::Lazy_volatile_object<Arp_cache_entry>;
using Arp_cache_entry_slot = Genode::Constructible<Arp_cache_entry>;
}

View File

@ -1132,7 +1132,7 @@ struct Nitpicker::Main
Framebuffer_screen(Framebuffer::Session &fb) : framebuffer(fb) { }
};
Genode::Volatile_object<Framebuffer_screen> fb_screen = { framebuffer };
Genode::Reconstructible<Framebuffer_screen> fb_screen = { framebuffer };
void handle_fb_mode();
@ -1150,7 +1150,7 @@ struct Nitpicker::Main
* on the first call of 'handle_config'.
*/
Genode::Heap domain_registry_heap { env.ram(), env.rm() };
Genode::Volatile_object<Domain_registry> domain_registry {
Genode::Reconstructible<Domain_registry> domain_registry {
domain_registry_heap, Genode::Xml_node("<config/>") };
User_state user_state = { global_keys, fb_screen->screen.size() };

View File

@ -12,7 +12,7 @@
*/
/* Genode includes */
#include <util/volatile_object.h>
#include <util/reconstructible.h>
#include <util/arg_string.h>
#include <util/xml_generator.h>
#include <base/heap.h>
@ -27,7 +27,7 @@ namespace Rom_filter {
using Genode::Rpc_object;
using Genode::Sliced_heap;
using Genode::env;
using Genode::Lazy_volatile_object;
using Genode::Constructible;
using Genode::Xml_generator;
using Genode::size_t;
@ -61,7 +61,7 @@ class Rom_filter::Session_component : public Rpc_object<Genode::Rom_session>,
Session_list &_sessions;
Lazy_volatile_object<Genode::Attached_ram_dataspace> _ram_ds;
Constructible<Genode::Attached_ram_dataspace> _ram_ds;
public:
@ -157,7 +157,7 @@ struct Rom_filter::Main : Input_rom_registry::Input_rom_changed_fn,
Input_rom_registry _input_rom_registry { *env()->heap(), _ep, *this };
Genode::Lazy_volatile_object<Genode::Attached_ram_dataspace> _xml_ds;
Genode::Constructible<Genode::Attached_ram_dataspace> _xml_ds;
size_t _xml_output_len = 0;