Home
last modified time | relevance | path

Searched refs:bootdev (Results 1 – 10 of 10) sorted by relevance

/freebsd/stand/kboot/kboot/
H A Dmain.c390 const char *bootdev; in main() local
424 bootdev = getenv("bootdev"); in main()
425 if (bootdev == NULL) in main()
426 bootdev = hostdisk_gen_probe(); in main()
428 if (bootdev == NULL || strcmp(bootdev, "zfs:") == 0) { in main()
436 bootdev = getenv("currdev"); in main()
439 if (bootdev == NULL) in main()
440 bootdev = "host:/"; in main()
441 if (bootdev != NULL) { in main()
448 set_currdev(bootdev); in main()
[all …]
/freebsd/stand/i386/libi386/
H A Delf32_freebsd.c62 int boothowto, err, bootdev; in elf32_exec() local
68 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend); in elf32_exec()
78 __exec((void *)entry, boothowto, bootdev, 0, 0, 0, bootinfop, modulep, kernend); in elf32_exec()
/freebsd/stand/userboot/userboot/
H A Delf32_freebsd.c65 int boothowto, err, bootdev; in elf32_exec() local
73 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend); in elf32_exec()
95 *--sp = bootdev; in elf32_exec()
/freebsd/stand/efi/gptboot/
H A Dproto.c227 dev_info_t *bootdev; in choice_protocol() local
260 bootdev = find_partition(dsk.part); in choice_protocol()
261 if (bootdev == NULL) { in choice_protocol()
266 if (mod->load(fn, bootdev, &loaderbuf, &loadersize) != in choice_protocol()
272 try_boot(mod, bootdev, loaderbuf, loadersize); in choice_protocol()
/freebsd/stand/powerpc/boot1.chrp/
H A Dboot1.c46 static ofwh_t bootdev; variable
231 ofw_close(bootdev); in ofw_init()
519 if (bootdev > 0) in main()
520 ofw_close(bootdev); in main()
539 if (bootdev > 0) in main()
540 ofw_close(bootdev); in main()
575 if ((bootdev = ofw_open(device)) == -1) { in domount()
628 ofw_close(bootdev); in load()
641 ofw_seek(bootdev, lba * DEV_BSIZE); in dskread()
642 ofw_read(bootdev, buf, nblk * DEV_BSIZE); in dskread()
/freebsd/stand/i386/gptzfsboot/
H A Dzfsboot.c112 static uint32_t bootdev; variable
216 bootdev = MAKEBOOTDEV(dev_maj[DEVT_DISK], devdesc->d_slice + 1, in main()
479 bootdev, in load()
498 bootdev, in load()
532 bootdev = MAKEBOOTDEV(dev_maj[bdev->dd.d_dev->dv_type], in mount_root()
/freebsd/stand/i386/common/
H A Dbootargs.h66 uint32_t bootdev; member
/freebsd/sys/i386/i386/
H A Dlocore.S307 movl %eax,bootdev
H A Dmachdep.c327 u_long bootdev; /* not a struct cdev *- encoding is different */ variable
329 CTLFLAG_RD, &bootdev, 0, "Maybe the Boot device (not in struct cdev *format)");
/freebsd/stand/i386/loader/
H A Dmain.c112 initial_bootdev = kargs->bootdev; in main()