Home
last modified time | relevance | path

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

/openbsd-src/sys/arch/loongson/stand/boot/
H A Dmachdep.c67 const char *bootpath = NULL; in devboot() local
99 bootpath = tmp; in devboot()
105 bootpath = pmon_getenv("al"); in devboot()
114 if (bootpath != NULL && strncmp(bootpath, "tftp://", 7) == 0) in devboot()
115 bootpath = NULL; in devboot()
121 if (bootpath != NULL) { in devboot()
122 tmp = strchr(bootpath, '@'); in devboot()
124 bootpath = NULL; in devboot()
126 bootpath = tmp + 1; in devboot()
127 tmp = strchr(bootpath, '/'); in devboot()
[all …]
/openbsd-src/sys/arch/macppc/stand/
H A Dhfs.c43 char bootpath[128], *cp; in hfs_open() local
47 bzero(bootpath, sizeof bootpath); in hfs_open()
48 OF_getprop(chosen, "bootpath", bootpath, sizeof bootpath); in hfs_open()
50 cp = strrchr(bootpath, ','); in hfs_open()
54 strlcpy(cp + 1, path, bootpath + sizeof bootpath - (cp + 1)); in hfs_open()
55 OF_fd = OF_open(bootpath); in hfs_open()
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Deltorito.c59 char * bootpath; /* filename of boot catalog */ in FDECL1() local
63 bootpath = (char *) e_malloc(strlen(boot_catalog)+strlen(path)+2); in FDECL1()
64 strcpy(bootpath, path); in FDECL1()
65 if (bootpath[strlen(bootpath)-1] != '/') in FDECL1()
67 strcat(bootpath,"/"); in FDECL1()
70 strcat(bootpath, boot_catalog); in FDECL1()
76 fprintf(stderr,"Looking for boot catalog file %s\n",bootpath); in FDECL1()
79 if (!stat_filter(bootpath, &statbuf)) in FDECL1()
89 free(bootpath); in FDECL1()
95 fprintf(stderr, "Please check the following file: %s.\n",bootpath); in FDECL1()
[all …]
/openbsd-src/sys/arch/sparc64/sparc64/
H A Dautoconf.c131 struct bootpath bootpath[16]; variable
135 static void bootpath_print(struct bootpath *);
136 void bootpath_nodes(struct bootpath *, int);
140 void nail_bootdev(struct device *, struct bootpath *);
443 bootpath_nodes(struct bootpath *bp, int nbp) in bootpath_nodes()
489 register struct bootpath *bp; in bootpath_build()
493 bzero((void *)bootpath, sizeof(bootpath)); in bootpath_build()
494 bp = bootpath; in bootpath_build()
535 bootpath_nodes(bootpath, nbootpath); in bootpath_build()
599 bootpath_print(struct bootpath *bp) in bootpath_print()
[all …]
/openbsd-src/sys/arch/sparc64/include/
H A Dautoconf.h141 struct bootpath { struct
147 struct bootpath *bootpath_store(int, struct bootpath *); argument
/openbsd-src/sys/arch/macppc/macppc/
H A Dmachdep.c105 char *bootpath; variable
249 bootpath= &bootpathbuf[0]; in initppc()
250 while ( *++bootpath && *bootpath != ' '); in initppc()
251 if (*bootpath) { in initppc()
252 *bootpath++ = 0; in initppc()
253 while (*bootpath) { in initppc()
254 switch (*bootpath++) { in initppc()
275 bootpath = &bootpathbuf[0]; in initppc()
276 parseofwbp(bootpath); in initppc()
H A Dautoconf.c272 printf("bootpath: %s\n", bootpath); in diskconf()
/openbsd-src/sys/arch/powerpc/include/
H A Dcpu.h203 extern char *bootpath;
/openbsd-src/sys/arch/hppa/include/
H A Dpdc.h476 struct device_path bootpath; /* 0x24: boot path */ member
/openbsd-src/sys/arch/sparc64/stand/bootblk/
H A Dbootblk.fth621 " bootpath" chosen-phandle get-package-property if
622 ." Could not find bootpath in /chosen" cr