Review Board 2.0.15


x86: i8042: Add VNC keyboard input support.

Review Request #2520 - Created Nov. 22, 2014 and updated - Latest diff uploaded

Information
Gabe Black
gem5
default
Reviewers
Default
Changeset 10556:76e90695e93b
---------------------------
x86: i8042: Add VNC keyboard input support.

This fixes up and fleshes out the keyboard model within the i8042 so that it
can return keyboard input realistically enough to satisfy the kernel.

One notable change was to turn off the convertScanCodes bit. That bit
basically enables a compatibility mode which makes the keyboard return
scancodes from set 1 which the XT computer used. We want to turn off that
translation so that we get scancode set 2, the standard set which was used by
the AT computer. That's also what the existing X11 keycode => scancode
function developed for ARM returns.