gArmPlatformTokenSpaceGuid.PcdDefaultBootType|0\r
\r
#\r
- # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
+ # Use the serial console (ConIn & ConOut), the USB keyboard (ConIn), and the\r
+ # Graphic driver (ConOut).\r
#\r
# For the PCI VGA device path to work, you must start QEMU with the option\r
# '-device VGA,addr=01.0' (see "Pci(0x1,0x0)").\r
#\r
+ # For the USB keyboard device path to work, the following QEMU options are\r
+ # needed (see "docs/usb2.txt" and "docs/ich9-ehci-uhci.cfg"):\r
+ #\r
+ # -device ich9-usb-ehci1,multifunction=on,addr=1d.7,id=ehci\r
+ # -device ich9-usb-uhci1,multifunction=on,addr=1d.0,masterbus=ehci.0,firstport=0\r
+ # -device ich9-usb-uhci2,multifunction=on,addr=1d.1,masterbus=ehci.0,firstport=2\r
+ # -device ich9-usb-uhci3,multifunction=on,addr=1d.2,masterbus=ehci.0,firstport=4\r
+ # -device usb-kbd,bus=ehci.0\r
+ #\r
+ # Note the match between addr=1d.7 and Pci(0x1D,0x7).\r
+ #\r
gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100();PciRoot(0x0)/Pci(0x1,0x0)/AcpiAdr(0x80010100)"\r
- gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100()"\r
+ gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenVt100();PciRoot(0x0)/Pci(0x1D,0x7)/USB(0x0,0x0)"\r
gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|3\r
\r
#\r
BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
}\r
OvmfPkg/PlatformDxe/Platform.inf\r
+\r
+ #\r
+ # USB Support\r
+ #\r
+ MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
+ MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
+ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
+ MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r