ladybird/Kernel/Storage
Liav A 72b1998f0d Kernel: Introduce a new partitioning subsystem
The partitioning code was very outdated, and required a full refactor.
The new subsystem removes duplicated code and uses more AK containers.

The most important change is that all implementations of the
PartitionTable class conform to one interface, which made it possible
to remove unnecessary code in the EBRPartitionTable class.

Finding partitions is now done in the StorageManagement singleton,
instead of doing so in init.cpp.

Also, now we don't try to find partitions on demand - the kernel will
try to detect if a StorageDevice is partitioned, and if so, will check
what is the partition table, which could be MBR, GUID or EBR.
Then, it will create DiskPartitionMetadata object for each partition
that is available in the partition table. This object will be used
by the partition enumeration code to create a DiskPartition with the
correct minor number.
2020-12-27 23:07:44 +01:00
..
Partition Kernel: Introduce a new partitioning subsystem 2020-12-27 23:07:44 +01:00
IDEChannel.cpp AK: Remove custom %b format string specifier 2020-12-25 17:04:28 +01:00
IDEChannel.h Kernel: Add a method to gather the devices count of a Storage controller 2020-12-21 00:19:21 +01:00
IDEController.cpp Kernel: Change the indexing of storage devices in IDEController class 2020-12-21 00:19:21 +01:00
IDEController.h Kernel: Change the indexing of storage devices in IDEController class 2020-12-21 00:19:21 +01:00
PATADiskDevice.cpp Kernel: Introduce the new Storage subsystem 2020-12-21 00:19:21 +01:00
PATADiskDevice.h Kernel: Introduce the new Storage subsystem 2020-12-21 00:19:21 +01:00
StorageController.h Kernel: Add a method to gather the devices count of a Storage controller 2020-12-21 00:19:21 +01:00
StorageDevice.cpp Kernel: Introduce the new Storage subsystem 2020-12-21 00:19:21 +01:00
StorageDevice.h Kernel: Introduce a new partitioning subsystem 2020-12-27 23:07:44 +01:00
StorageManagement.cpp Kernel: Introduce a new partitioning subsystem 2020-12-27 23:07:44 +01:00
StorageManagement.h Kernel: Introduce a new partitioning subsystem 2020-12-27 23:07:44 +01:00