9#include <l4/cxx/static_container>
20 cxx::Static_container<Vfs> vfs;
24 cxx::Static_container<L4Re::Vfs::File_factory_t<L4Re::Dataspace, L4Re::Core::Ro_file> > ro_file;
25 cxx::Static_container<L4Re::Vfs::File_factory_t<L4Re::Namespace, L4Re::Core::Ns_dir> > ns_dir;
26 cxx::Static_container<L4Re::Vfs::File_factory_t<L4::Vcon, L4Re::Core::Vcon_stream> > vcon_stream;
31 __rtld_l4re_env_posix_vfs_ops = vfs;
33 auto ns_ptr = cxx::ref_ptr(ns_dir.get());
34 vfs->register_file_factory(ns_ptr);
38 auto ro_ptr = cxx::ref_ptr(ro_file.get());
39 vfs->register_file_factory(ro_ptr);
42 vcon_stream.construct();
43 auto vcon_ptr = cxx::ref_ptr(vcon_stream.get());
44 vfs->register_file_factory(vcon_ptr);
49static Vfs_init __vfs_init __attribute__((init_priority(INIT_PRIO_VFS_INIT)));