1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

Kernel: Implement RamdiskDevice

This commit is contained in:
Jean-Baptiste Boric 2021-01-19 22:33:00 +01:00 committed by Andreas Kling
parent ec056f3bd1
commit 225957283e
8 changed files with 302 additions and 0 deletions

View file

@ -32,6 +32,7 @@
#include <Kernel/Storage/Partition/EBRPartitionTable.h>
#include <Kernel/Storage/Partition/GUIDPartitionTable.h>
#include <Kernel/Storage/Partition/MBRPartitionTable.h>
#include <Kernel/Storage/RamdiskController.h>
#include <Kernel/Storage/StorageManagement.h>
namespace Kernel {
@ -64,6 +65,7 @@ NonnullRefPtrVector<StorageController> StorageManagement::enumerate_controllers(
controllers.append(IDEController::initialize(address, force_pio));
}
});
controllers.append(RamdiskController::initialize());
return controllers;
}