diff options
Diffstat (limited to 'Kernel/Storage/Ramdisk/Controller.h')
-rw-r--r-- | Kernel/Storage/Ramdisk/Controller.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Kernel/Storage/Ramdisk/Controller.h b/Kernel/Storage/Ramdisk/Controller.h deleted file mode 100644 index 74d35c5f5b..0000000000 --- a/Kernel/Storage/Ramdisk/Controller.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2021, the SerenityOS developers. - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include <AK/OwnPtr.h> -#include <AK/Types.h> -#include <Kernel/Library/LockRefPtr.h> -#include <Kernel/Storage/Ramdisk/Device.h> -#include <Kernel/Storage/StorageController.h> -#include <Kernel/Storage/StorageDevice.h> - -namespace Kernel { - -class AsyncBlockDeviceRequest; - -class RamdiskController final : public StorageController { -public: - static ErrorOr<NonnullRefPtr<RamdiskController>> try_initialize(); - virtual ~RamdiskController() override; - - virtual LockRefPtr<StorageDevice> device(u32 index) const override; - virtual ErrorOr<void> reset() override; - virtual ErrorOr<void> shutdown() override; - virtual size_t devices_count() const override; - virtual void complete_current_request(AsyncDeviceRequest::RequestResult) override; - -private: - RamdiskController(); - - Vector<NonnullLockRefPtr<RamdiskDevice>> m_devices; -}; -} |