4650: 4651: 4652: 4653: 4654: 4655: 4656: int (*bdevsw[])() 4657: { 4658: &nulldev, &nulldev, &rkstrategy, &rktab, /* rk */ 4659: &nodev, &nodev, &nodev, 0, /* rp */ 4660: &nodev, &nodev, &nodev, 0, /* rf */ 4661: &nodev, &nodev, &nodev, 0, /* tm */ 4662: &nodev, &nodev, &nodev, 0, /* tc */ 4663: &nodev, &nodev, &nodev, 0, /* hs */ 4664: &nodev, &nodev, &nodev, 0, /* hp */ 4665: &nodev, &nodev, &nodev, 0, /* ht */ 4666: 0 4667: }; 4668: 4669: int (*cdevsw[])() 4670: { 4671: &klopen, &klclose, &klread, &klwrite, &klsgtty, /* console */ 4672: 4673: &pcopen, &pcclose, &pcread, &pcwrite, &nodev, /* pc */ 4674: 4675: &lpopen, &lpclose, &lpread, &lpwrite, &nodev, /* lp */ 4676: 4677: &nodev, &nodev, &nodev, &nodev, &nodev, /* dc */ 4678: &nodev, &nodev, &nodev, &nodev, &nodev, /* dh */ 4679: &nodev, &nodev, &nodev, &nodev, &nodev, /* dp */ 4680: &nodev, &nodev, &nodev, &nodev, &nodev, /* dj */ 4681: &nodev, &nodev, &nodev, &nodev, &nodev, /* dn */ 4682: &nulldev, &nulldev, &mmread, &mmwrite, &nodev, /* mem */ 4683: 4684: &nulldev, &nulldev, &rkread, &rkwrite, &nodev, /* rk */ 4685: 4686: &nodev, &nodev, &nodev, &nodev, &nodev, /* rf */ 4687: &nodev, &nodev, &nodev, &nodev, &nodev, /* rp */ 4688: &nodev, &nodev, &nodev, &nodev, &nodev, /* tm */ 4689: &nodev, &nodev, &nodev, &nodev, &nodev, /* hs */ 4690: &nodev, &nodev, &nodev, &nodev, &nodev, /* hp */ 4691: &nodev, &nodev, &nodev, &nodev, &nodev, /* ht */ 4692: 0 4693: }; 4694: 4695: int rootdev {(0<<8)|0}; 4696: int swapdev {(0<<8)|0}; 4697: int swplo 4000; /* cannot be zero */ 4698: int nswap 872;