~aleteoryx/muditaos

ref: 2a17ec9254c16a55cf2b664b19d1bbe95377bdc4 muditaos/module-vfs/src/purefs/blkdev/disk.cpp -rw-r--r-- 530 bytes
2a17ec92 — Lucjan Bryndza [EGD-6075] Fix partition name typo 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <purefs/blkdev/disk.hpp>
#include <errno.h>

namespace purefs::blkdev
{
    auto disk::erase(sector_t lba, std::size_t count) -> int
    {
        return -ENOTSUP;
    }
    auto disk::pm_control(pm_state target_state) -> int
    {
        return -ENOTSUP;
    }
    auto disk::pm_read(pm_state &current_state) -> int
    {
        return -ENOTSUP;
    }
} // namespace purefs::blkdev