mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Revert "Kernel: Add boot parameter to determine i8042 first port translation"
This reverts commit0379742d7e
. Commit61a385fc01
breaks the shift and caps lock key, but depends on this one.
This commit is contained in:
parent
73c8b4865e
commit
68b0826107
4 changed files with 1 additions and 17 deletions
|
@ -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);
|
||||
|
|
|
@ -82,7 +82,6 @@ public:
|
|||
[[nodiscard]] bool is_pci_disabled() const;
|
||||
[[nodiscard]] bool is_legacy_time_enabled() const;
|
||||
[[nodiscard]] bool is_pc_speaker_enabled() const;
|
||||
[[nodiscard]] bool i8042_enable_first_port_translation() const;
|
||||
[[nodiscard]] GraphicsSubsystemMode graphics_subsystem_mode() const;
|
||||
[[nodiscard]] I8042PresenceMode i8042_presence_mode() const;
|
||||
[[nodiscard]] bool is_force_pio() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue