diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-04-15 22:34:47 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-04-16 21:45:25 +0200 |
commit | 5e0e476a9542a1f769fd5325c0be2d16d3ad1d42 (patch) | |
tree | 5550e14adac4a7ad7ec638c6bece6aa7f5952e22 /BaseTools/Source/Python/Common/Misc.py | |
parent | d4ee449d1dabee20fc36650545143a5430fa718f (diff) | |
download | edk2-5e0e476a9542a1f769fd5325c0be2d16d3ad1d42.tar.gz edk2-5e0e476a9542a1f769fd5325c0be2d16d3ad1d42.tar.bz2 edk2-5e0e476a9542a1f769fd5325c0be2d16d3ad1d42.zip |
OvmfPkg/PlatformBootManagerLib: add USB keyboard to ConIn
PlatformInitializeConsole() (called by PlatformBootManagerBeforeConsole())
adds elements of "gPlatformConsole" to ConIn / ConOut / ErrOut (as
requested per element) if at boot at least one of ConIn and ConOut doesn't
exist. This typically applies to new VMs, and VMs with freshly recreated
varstores.
Add a USB keyboard wildcard to ConIn via "gPlatformConsole", so that we
not only bind the PS/2 keyboard. (The PS/2 keyboard is added in
PrepareLpcBridgeDevicePath()). Explicitly connecting the USB keyboard is
necessary after commit 245c643cc8b7.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions