Kernel/Storage: Restore booting from MBR partitions functionality

We had such functionality in the past, but it was regressed and now is
restored.
This commit is contained in:
Liav A 2021-11-27 09:10:10 +02:00 committed by Andreas Kling
commit ed5a4f2938
Notes: sideshowbarker 2024-07-18 00:36:29 +09:00
2 changed files with 16 additions and 1 deletions

View file

@ -46,7 +46,7 @@ public:
// FIXME: Remove this method after figuring out another scheme for naming.
StringView early_storage_name() const;
NonnullRefPtrVector<DiskPartition> partitions() const { return m_partitions; }
NonnullRefPtrVector<DiskPartition> const& partitions() const { return m_partitions; }
virtual CommandSet command_set() const = 0;