summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-04-15 11:20:11 +0300
committerIdan Horowitz <idan.horowitz@gmail.com>2022-04-18 19:36:42 +0300
commit063ea0088ed4798fc3be7dc47ce4e89dbf3e26f3 (patch)
tree5af0baa057f93a7a1a1518f9abe89b91838dc5d8 /Meta/CMake
parent04763c4a1275376d2112cb3431db33187f457feb (diff)
downloadserenity-063ea0088ed4798fc3be7dc47ce4e89dbf3e26f3.zip
Kernel: Enable PS2 keyboard scan code translation if not already enabled
On the QEMU microvm machine type, it became apparent that the BIOS was not setting the i8042 controller to function as expected. To ensure that the controller is always outputting correct scan codes, set it to scan code 2 and enable first port translation to ensure all scan codes are translated to scan code set 1. This is the expected behavior when using SeaBIOS, but on qboot (the BIOS for the QEMU microvm machine type), the firmware doesn't take care of this so we need to do this ourselves.
Diffstat (limited to 'Meta/CMake')
0 files changed, 0 insertions, 0 deletions