1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:37:34 +00:00

Revert "Kernel/Storage: Remove the ramdisk implementation"

This reverts commit 4e0f85432a as the
ramdisk code is useful for the bring-up of the aarch64 port. Once the
kernel supports better ram-based filesystems, this code will be removed
again.
This commit is contained in:
Timon Kruiper 2023-01-30 13:48:44 +01:00 committed by Linus Groh
parent 4d68dcfca0
commit 187723776a
9 changed files with 227 additions and 0 deletions

View file

@ -69,6 +69,8 @@ StringView StorageDevice::class_name() const
StringView StorageDevice::command_set_to_string_view() const
{
switch (command_set()) {
case CommandSet::PlainMemory:
return "memory"sv;
case CommandSet::SCSI:
return "scsi"sv;
case CommandSet::ATA: