~aleteoryx/muditaos

ref: f9b9967b0ebea232eadffedcf7ed6a86c94c5e48 muditaos/module-vfs/board/linux/purefs/src/vfs_subsystem_internal.cpp -rw-r--r-- 585 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
15
16
17
18
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <purefs/vfs_subsystem_internal.hpp>
#include <purefs/blkdev/disk_manager.hpp>
#include <purefs/blkdev/disk_image.hpp>

namespace purefs::subsystem::internal
{
    namespace
    {
        constexpr auto disk_image_name = "PurePhone.img";
    }
    auto create_default_block_device() -> std::shared_ptr<blkdev::disk>
    {
        return std::make_shared<blkdev::disk_image>(disk_image_name);
    }
} // namespace purefs::subsystem::internal