|
|
Xinu for VAX
/* devdump.c - devdump */
#include <conf.h>
#include <kernel.h>
/*------------------------------------------------------------------------
* devdump - dump device names from the device switch table
*------------------------------------------------------------------------
*/
devdump()
{
struct devsw *devptr;
int i;
kprintf("Num Device minor CSR i-vect. o-vect. cntrl blk\n");
kprintf("--- -------- ----- --------- --------- --------- -----------\n");
for (i=0 ; i<NDEVS ; i++) {
devptr = &devtab[i];
kprintf("%2d. %-9s %3d %09x %09x %09x %09x\n",
i, devptr->dvname, devptr->dvminor,
devptr->dvcsr, devptr->dvivec, devptr->dvovec,
devptr->dvioblk);
}
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.