mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
Kernel: Add boot argument to disable the UHCI Controller
Helps with bare metal debugging, as we can't be sure our implementation will work with a given machine. As reported by someone on Discord, their machine hangs when we attempt the dummy transfer.
This commit is contained in:
parent
e98091ad15
commit
c84107a1ab
4 changed files with 16 additions and 3 deletions
|
@ -165,6 +165,11 @@ UNMAP_AFTER_INIT bool CommandLine::disable_physical_storage() const
|
|||
return contains("disable_physical_storage");
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT bool CommandLine::disable_uhci_controller() const
|
||||
{
|
||||
return contains("disable_uhci_controller");
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT AHCIResetMode CommandLine::ahci_reset_mode() const
|
||||
{
|
||||
const auto ahci_reset_mode = lookup("ahci_reset_mode").value_or("controller");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue