Page 1 of 1
pci problem
Posted: Sat Jan 17, 2015 5:20 pm
by aliceinchains
yeah so I brute enumerate pci devices 0-255 bus 0-31 device 0-7 function for vendor id and every single one returns 0xffff I also xor the register each and every time so im wondering is a machine from 2013 using pci? i tested in 16bit real mode is that the problem?
Re: pci problem
Posted: Sat Jan 17, 2015 8:05 pm
by Brendan
Hi,
aliceinchains wrote:yeah so I brute enumerate pci devices 0-255 bus 0-31 device 0-7 function for vendor id and every single one returns 0xffff I also xor the register each and every time so im wondering is a machine from 2013 using pci?
It's extremely unlikely that an 80x86 machine from 2013 doesn't use PCI. We started shifting to PCI in about 1992 and nothing has replaced PCI since (more correctly, later versions of PCI have replaced previous versions of PCI, but each version has been mostly backward compatible).
aliceinchains wrote:i tested in 16bit real mode is that the problem?
No.
Far more likely is that your code just has a bug (e.g. using the wrong IO port or something).
Cheers,
Brendan