void cpu_rootconf(void) { findroot(); matchbiosdisks(); aprint_normal("boot device: %s\n", booted_device ? device_xname(booted_device) : "<unknown>"); rootconf(); }
void cpu_rootconf() { struct device *booted_device; int booted_partition; findroot(&booted_device, &booted_partition); matchbiosdisks(); printf("boot device: %s\n", booted_device ? booted_device->dv_xname : "<unknown>"); setroot(booted_device, booted_partition, i386_nam2blk); }
void cpu_rootconf(void) { findroot(); matchbiosdisks(); if (booted_wedge) { KASSERT(booted_device != NULL); aprint_normal("boot device: %s (%s)\n", device_xname(booted_wedge), device_xname(booted_device)); setroot(booted_wedge, 0); } else { aprint_normal("boot device: %s\n", booted_device ? device_xname(booted_device) : "<unknown>"); setroot(booted_device, booted_partition); } }
void cpu_bootconf(void) { findroot(); matchbiosdisks(); }