WIP: XHCI
This commit is contained in:
parent
efec22ba9d
commit
1127c771ce
|
@ -8,6 +8,7 @@ members = [
|
|||
"drivers/ps2d",
|
||||
"drivers/rtl8168d",
|
||||
"drivers/vesad",
|
||||
"drivers/xhcid",
|
||||
"installer",
|
||||
"kernel",
|
||||
"programs/acid",
|
||||
|
|
2
drivers
2
drivers
|
@ -1 +1 @@
|
|||
Subproject commit cc299464fc11e01649ad8a09b127397e68901b77
|
||||
Subproject commit 778852f92d835c17327819bde28c19db8096a4b1
|
|
@ -11,3 +11,10 @@ class = 2
|
|||
vendor = 4332
|
||||
device = 33128
|
||||
command = ["/sbin/rtl8168d", "$NAME", "$BAR2", "$IRQ"]
|
||||
|
||||
[[drivers]]
|
||||
name = "XHCI"
|
||||
class = 12
|
||||
subclass = 3
|
||||
interface = 48
|
||||
command = ["/sbin/xhcid", "$NAME", "$BAR0", "$IRQ"]
|
||||
|
|
21
filesystem/home/user/minimal.toml
Normal file
21
filesystem/home/user/minimal.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# This is the default configuration file
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
coreutils = {}
|
||||
extrautils = {}
|
||||
ion = {}
|
||||
|
||||
# User settings
|
||||
[users.root]
|
||||
# Password is set to "password"
|
||||
password = "$argon2i$m=4096,t=10,p=1$Tnc4UVV0N00$ML9LIOujd3nmAfkAwEcSTMPqakWUF0OUiLWrIy0nGLk"
|
||||
uid = 0
|
||||
gid = 0
|
||||
name = "root"
|
||||
home = "/root"
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue