This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 1000050] New: Call to cyg_pci_find_device results in infinite loop
- From: bugzilla at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Tue, 9 Sep 2003 21:49:18 +0100 (BST)
- Subject: [Bug 1000050] New: Call to cyg_pci_find_device results in infinite loop
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000050
Summary: Call to cyg_pci_find_device results in infinite loop
Product: eCos
Version: 2.0
Platform: pc (i386 PC target)
OS/Version: HostOS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: PCI
AssignedTo: gary@mlbassoc.com
ReportedBy: Kevin_Lemay@agilent.com
QAContact: ecos-bugs@sources.redhat.com
Setting the CYGSEM_HAL_I386_PC_LARGE_PCI_SPACE to enabled causes an infinite
loop when calling the above function.
Disabling the flag (as defaulted) causes normal operation.
Target PC: HP Kayak XU running redboot delivered with 2.0
The device ID returned from cyg_pci_find_next (pci.c) was 65536 immediately
before the overflow. Bus = 1, dev=0, func = 0. These values where correctly
decoded when the cyg_pci_find_next was entered. However, when the next device
was returned, the devid was set to CYG_PCI_NULL_DEVID. This causes the
cyg_pci_find_next to re-start the scan on the subsequent call causing an
infinite loop.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.