di 333 bsp/drv/dev/base/kd.c struct devinfo di; di 342 bsp/drv/dev/base/kd.c di.cookie = 0; di 345 bsp/drv/dev/base/kd.c rc = sysinfo(INFO_DEVICE, &di); di 348 bsp/drv/dev/base/kd.c if (di.flags & D_CHR) di 350 bsp/drv/dev/base/kd.c if (di.flags & D_BLK) di 352 bsp/drv/dev/base/kd.c if (di.flags & D_REM) di 354 bsp/drv/dev/base/kd.c if (di.flags & D_PROT) di 356 bsp/drv/dev/base/kd.c if (di.flags & D_TTY) di 359 bsp/drv/dev/base/kd.c printf(" %08lx %12s %s\n", di.id, di.name, flags);