coreboot-kgpe-d16/payloads/libpayload/drivers/i8042
Nico Huber 828f6b428e libpayload/keyboard: Avoid races around input draining
Draining the keyboard's buffer is only possible when the keyboard
port is enabled. We should also disable input scanning before, as
the buffer could be filled again with new keystrokes otherwise.

Change-Id: Ibac9c0d04880ff4a3efda5ac53da2f9731f6602c
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47085
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-12-24 08:19:18 +00:00
..
i8042.c libpayload/i8042: Add API to get/set kbd translation state 2020-12-23 03:29:16 +00:00
i8042.h libpayload/keyboard: Revise scancode set and translation config 2020-12-23 03:29:32 +00:00
keyboard.c libpayload/keyboard: Avoid races around input draining 2020-12-24 08:19:18 +00:00
mouse.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00