mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:57:49 +00:00
Kernel: Allow adding storage devices after init
This commit is contained in:
parent
0b649878a5
commit
4f46fb9891
2 changed files with 23 additions and 12 deletions
|
@ -40,11 +40,13 @@ public:
|
|||
static u32 generate_relative_ata_controller_id(Badge<ATAController>);
|
||||
static u32 generate_relative_sd_controller_id(Badge<SDHostController>);
|
||||
|
||||
void add_device(StorageDevice&);
|
||||
void remove_device(StorageDevice&);
|
||||
|
||||
private:
|
||||
void enumerate_pci_controllers(bool force_pio, bool nvme_poll);
|
||||
void enumerate_storage_devices();
|
||||
ErrorOr<void> enumerate_device_partitions(StorageDevice&);
|
||||
void enumerate_disk_partitions();
|
||||
|
||||
void determine_boot_device();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue