8#include <l4/cxx/static_container>
19 cxx::Static_container<Vfs> vfs;
23 cxx::Static_container<L4Re::Vfs::File_factory_t<L4Re::Dataspace, L4Re::Core::Ro_file> > ro_file;
24 cxx::Static_container<L4Re::Vfs::File_factory_t<L4Re::Namespace, L4Re::Core::Ns_dir> > ns_dir;
25 cxx::Static_container<L4Re::Vfs::File_factory_t<L4::Vcon, L4Re::Core::Vcon_stream> > vcon_stream;
30 __rtld_l4re_env_posix_vfs_ops = vfs;
32 auto ns_ptr = cxx::ref_ptr(ns_dir.get());
33 vfs->register_file_factory(ns_ptr);
37 auto ro_ptr = cxx::ref_ptr(ro_file.get());
38 vfs->register_file_factory(ro_ptr);
41 vcon_stream.construct();
42 auto vcon_ptr = cxx::ref_ptr(vcon_stream.get());
43 vfs->register_file_factory(vcon_ptr);
48static Vfs_init __vfs_init __attribute__((init_priority(INIT_PRIO_VFS_INIT)));