Use permanent allocation of major indexes for character devices.

This commit is contained in:
Sergey
2015-05-30 18:28:22 -07:00
parent a234dfc7dc
commit e08e51f1b9
7 changed files with 169 additions and 195 deletions
-1
View File
@@ -124,7 +124,6 @@ void remque (void *element);
void startup (void); /* machine-dependent startup code */
int chrtoblk (dev_t dev); /* convert from character to block device number */
int blktochr (dev_t dev); /* convert from block to character device number */
int isdisk (dev_t dev, int type); /* determine if a device is a disk */
int iskmemdev (dev_t dev); /* identify /dev/mem and /dev/kmem */
void boot (dev_t dev, int howto);