add debug to pcic memory mapping routine

This commit is contained in:
imp 2003-08-27 04:17:02 +00:00
parent 91724dbe23
commit 5d7ff3f5d3

View File

@ -270,6 +270,11 @@ pcic_memory(struct slot *slt, int win)
pcic_putw(sp, reg+2, 0);
pcic_putw(sp, reg+4, 0);
}
if (bootverbose)
printf("pcic: mem addr %p: reg %d: %x %x %x %x %x %x\n",
mp->start, reg, sp->getb(sp, reg), sp->getb(sp, reg+1),
sp->getb(sp, reg+2), sp->getb(sp, reg+3),
sp->getb(sp, reg+3), sp->getb(sp, reg+5));
return (0);
}