WIP: XHCI

This commit is contained in:
Jeremy Soller 2017-01-10 20:49:18 -07:00
parent efec22ba9d
commit 1127c771ce
6 changed files with 35 additions and 2 deletions

View file

@ -17,6 +17,9 @@ endif
ifeq ($(vga),no)
QEMUFLAGS+=-nographic -vga none
endif
ifneq ($(usb),no)
QEMUFLAGS+=-device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0
endif
ifeq ($(UNAME),Linux)
ifneq ($(kvm),no)
QEMUFLAGS+=-enable-kvm -cpu host

View file

@ -1,7 +1,8 @@
drivers: \
filesystem/sbin/pcid \
filesystem/sbin/e1000d \
filesystem/sbin/rtl8168d
filesystem/sbin/rtl8168d \
filesystem/sbin/xhcid
initfs/bin/%: drivers/%/Cargo.toml drivers/%/src/** $(BUILD)/libstd.rlib
mkdir -p initfs/bin