HomeFreeBSD

bhyve: Fix some warnings in the ps2 emulation code

Description

bhyve: Fix some warnings in the ps2 emulation code

  • Include headers containing prototypes for exported functions.
  • Initialize all fields of the extended translation table.
  • Qualify an unexported translation table as static.
  • Fix error handling for a read(2).
  • Fix some style bugs.

No functional change intended.

MFC after: 1 week

(cherry picked from commit 33dfef5cf3df138026491ac5725d55a23ae410f7)

Details

Provenance
markjAuthored on Oct 22 2022, 5:35 PM
corvinkCommitted on Nov 23 2022, 9:11 AM
Parents
rGcc820887ab0e: Append Keyboard Layout specified option for using VNC.
Branches
Unknown
Tags
Unknown