1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 05:15:07 +00:00

Revert "Kernel: Add boot parameter to determine i8042 first port translation"

This reverts commit 0379742d7e.

Commit 61a385fc01 breaks the shift and
caps lock key, but depends on this one.
This commit is contained in:
Andrew Kaster 2023-12-29 21:46:34 +01:00 committed by Andrew Kaster
parent 73c8b4865e
commit 68b0826107
4 changed files with 1 additions and 17 deletions

View file

@ -131,16 +131,6 @@ UNMAP_AFTER_INIT bool CommandLine::is_early_boot_console_disabled() const
PANIC("Unknown early_boot_console setting: {}", value);
}
UNMAP_AFTER_INIT bool CommandLine::i8042_enable_first_port_translation() const
{
auto value = lookup("i8042_first_port_translation"sv).value_or("off"sv);
if (value == "off"sv)
return false;
if (value == "on"sv)
return true;
PANIC("Unknown i8042_enable_first_port_translation setting: {}", value);
}
UNMAP_AFTER_INIT I8042PresenceMode CommandLine::i8042_presence_mode() const
{
auto value = lookup("i8042_presence_mode"sv).value_or("auto"sv);