boot_dev
static struct boot_dev **bootdev_list;
devfs_phys_to_logical(struct boot_dev **bootdev_array, const int array_size,
devfs_bootdev_free_list(struct boot_dev **array)
static int process_bootdev(const char *, const char *, struct boot_dev ***);
static struct boot_dev *
struct boot_dev *entry;
entry = (struct boot_dev *)calloc(1, sizeof (struct boot_dev));
static int devfs_phys_to_logical(struct boot_dev **bootdev_array,
static struct boot_dev *alloc_bootdev(char *);
struct boot_dev ***bootdev_list)
struct boot_dev **tmp_list;
struct boot_dev ***list)
struct boot_dev **bootdev_array;
bootdev_array = (struct boot_dev **)
calloc((size_t)num_entries + 1, sizeof (struct boot_dev *));
extern int devfs_bootdev_get_list(const char *, struct boot_dev ***);
extern void devfs_bootdev_free_list(struct boot_dev **);