| /freebsd-12.1/stand/mips/beri/loader/ |
| H A D | main.c | 159 const char *bootdev; in extract_currdev() local 168 bootdev = "dram0"; in extract_currdev() 172 bootdev = "cfi0"; in extract_currdev() 176 bootdev = "sdcard0"; in extract_currdev() 180 bootdev = NULL; in extract_currdev() 183 if (bootdev != NULL) { in extract_currdev() 184 env_setenv("currdev", EV_VOLATILE, bootdev, NULL, env_nounset); in extract_currdev() 185 env_setenv("loaddev", EV_VOLATILE, bootdev, env_noset, in extract_currdev()
|
| /freebsd-12.1/stand/i386/libi386/ |
| H A D | elf32_freebsd.c | 59 int boothowto, err, bootdev; in elf32_exec() local 65 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend); in elf32_exec() 75 __exec((void *)entry, boothowto, bootdev, 0, 0, 0, bootinfop, modulep, kernend); in elf32_exec()
|
| /freebsd-12.1/stand/powerpc/boot1.chrp/ |
| H A D | boot1.c | 46 static ofwh_t bootdev; variable 142 ofw_close(bootdev); in ofw_init() 430 if (bootdev > 0) in main() 431 ofw_close(bootdev); in main() 450 if (bootdev > 0) in main() 451 ofw_close(bootdev); in main() 486 if ((bootdev = ofw_open(device)) == -1) { in domount() 539 ofw_close(bootdev); in load() 552 ofw_seek(bootdev, lba * DEV_BSIZE); in dskread() 553 ofw_read(bootdev, buf, nblk * DEV_BSIZE); in dskread()
|
| /freebsd-12.1/stand/userboot/userboot/ |
| H A D | elf32_freebsd.c | 62 int boothowto, err, bootdev; in elf32_exec() local 70 err = bi_load32(fp->f_args, &boothowto, &bootdev, &bootinfop, &modulep, &kernend); in elf32_exec() 92 *--sp = bootdev; in elf32_exec()
|
| /freebsd-12.1/stand/powerpc/kboot/ |
| H A D | main.c | 258 const char *bootdev; in main() local 273 bootdev = argv[1]; in main() 275 bootdev = ""; in main() 277 printf("Boot device: %s\n", bootdev); in main() 289 setenv("currdev", bootdev, 1); in main() 290 setenv("loaddev", bootdev, 1); in main()
|
| /freebsd-12.1/stand/efi/loader/arch/i386/ |
| H A D | elf32_freebsd.c | 72 int boothowto, err, bootdev; in elf32_exec() local 91 __exec((void *)entry, boothowto, bootdev, 0, 0, 0, bootinfop, modulep, kernend); in elf32_exec()
|
| /freebsd-12.1/stand/sparc64/boot1/ |
| H A D | boot1.c | 45 static ofwh_t bootdev; variable 445 ofw_close(bootdev); in loadzfs() 493 ofw_close(bootdev); in load() 503 if ((bootdev = ofw_open(device)) == -1) { in domount() 526 ofw_seek(bootdev, lba * DEV_BSIZE); in dskread() 527 ofw_read(bootdev, buf, nblk * DEV_BSIZE); in dskread()
|
| /freebsd-12.1/stand/i386/common/ |
| H A D | bootargs.h | 68 uint32_t bootdev; member
|
| /freebsd-12.1/stand/i386/zfsboot/ |
| H A D | zfsboot.c | 116 static uint32_t bootdev; variable 743 bootdev = MAKEBOOTDEV(dev_maj[zdsk->dsk.type], in main() 1026 bootdev, in load()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | locore.s | 321 movl %eax,bootdev
|
| H A D | machdep.c | 1249 u_long bootdev; /* not a struct cdev *- encoding is different */ variable 1251 CTLFLAG_RD, &bootdev, 0, "Maybe the Boot device (not in struct cdev *format)");
|
| /freebsd-12.1/stand/i386/loader/ |
| H A D | main.c | 97 initial_bootdev = kargs->bootdev; in main()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | machdep.c | 173 u_int32_t bootdev; variable
|