Fix some syscalls, add partial PCI support.