In sys/arch/i386/i386/i386_mainbus.c::i386_mainbus_rescan() mp_pci_scan() is
only executed if:
...
if (npcibus == 0 && mpacpi_active)
npcibus = mp_pci_scan(self, &mba.mba_pba, pcibusprint);
if (npcibus == 0 && mpbios_scanned != 0)
...
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c: In function
'intr_create_intrid':
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c:315:34: error:
'MSI_INT_DEV_MASK' undeclared (first use in this function)
315 | pih = __SHIFTIN((uint64_t)dev, MSI_INT_DEV_MASK)
|
On Tue, 23 Apr 2024, Taylor R Campbell wrote:
Cool, thanks! The main thing you're trying to do -- pass a kernel on
the command line to qemu -- doesn't work on x86.
It does with these patches:
https://github.com/NetBSDfr/NetBSD-src/tree/nbfr_master
They need to be reviewed before I merge them