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

Kernel: Introduce the StorageManagement class

The StorageManagement class has 2 roles:
1. During boot, it should find all storage controllers in the machine,
and then determine what is the boot device.
2. Later on boot, it is a registrar of all storage controllers and
storage devices. Thus, it could be used to show information about these
devices when implemented.

This change allows the user to specify a boot driver other than /dev/hda
and if it's connected in the machine - it will boot.
This commit is contained in:
Liav A 2020-12-19 15:25:06 +02:00 committed by Andreas Kling
parent 78ae4b0530
commit 469f20d4ee
4 changed files with 182 additions and 16 deletions

View file

@ -43,6 +43,7 @@ set(KERNEL_SOURCES
Storage/IDEController.cpp
Storage/IDEChannel.cpp
Storage/PATADiskDevice.cpp
Storage/StorageManagement.cpp
DoubleBuffer.cpp
FileSystem/BlockBasedFileSystem.cpp
FileSystem/Custody.cpp