mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
Kernel/HID: Add boot option to disable PS2 Mouse
This commit is contained in:
parent
95bf6ddb8e
commit
83835c7256
4 changed files with 10 additions and 1 deletions
|
@ -226,6 +226,11 @@ UNMAP_AFTER_INIT bool CommandLine::is_physical_networking_disabled() const
|
|||
return contains("disable_physical_networking"sv);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT bool CommandLine::disable_ps2_mouse() const
|
||||
{
|
||||
return contains("disable_ps2_mouse"sv);
|
||||
}
|
||||
|
||||
UNMAP_AFTER_INIT bool CommandLine::disable_physical_storage() const
|
||||
{
|
||||
return contains("disable_physical_storage"sv);
|
||||
|
|
|
@ -90,6 +90,7 @@ public:
|
|||
[[nodiscard]] PanicMode panic_mode(Validate should_validate = Validate::No) const;
|
||||
[[nodiscard]] HPETMode hpet_mode() const;
|
||||
[[nodiscard]] bool disable_physical_storage() const;
|
||||
[[nodiscard]] bool disable_ps2_mouse() const;
|
||||
[[nodiscard]] bool disable_uhci_controller() const;
|
||||
[[nodiscard]] bool disable_usb() const;
|
||||
[[nodiscard]] bool disable_virtio() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue