~aleteoryx/muditaos

ref: f9b9967b0ebea232eadffedcf7ed6a86c94c5e48 muditaos/module-vfs/include/user/purefs/vfs_subsystem.hpp -rw-r--r-- 536 bytes
f9b9967b — Maciej-Mudita [EGD-4694] Add CPU frequency shift mechanism 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <memory>
#include <purefs/fs/filesystem.hpp>
#include <purefs/blkdev/disk_manager.hpp>

namespace purefs::subsystem
{
    auto initialize() -> std::tuple<std::shared_ptr<blkdev::disk_manager>, std::shared_ptr<fs::filesystem>>;
    auto disk_mgr() -> std::shared_ptr<blkdev::disk_manager>;
    auto vfs_core() -> std::shared_ptr<fs::filesystem>;
} // namespace purefs::subsystem