add diagnostics messages to find cause of hang

This commit is contained in:
Markus Fröschle
2015-11-20 07:08:09 +00:00
parent dd5fb8ab2e
commit cbee753127

View File

@@ -173,6 +173,7 @@ int32_t pci_get_interrupt_cause(void)
/*
* loop through all PCI devices...
*/
dbg("");
while ((handle = *hdl++) != -1)
{
uint16_t command_register = swpw(pci_read_config_word(handle, PCICR));
@@ -196,6 +197,7 @@ int32_t pci_call_interrupt_chain(int32_t handle, int32_t data)
{
int i;
dbg("");
for (i = 0; i < MAX_INTERRUPTS; i++)
{
if (interrupts[i].handle == handle)