Searched refs:bootpath (Results 1 - 25 of 71) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/arch/ofppc/include/
H A Dcpu.h38 extern char bootpath[];
/netbsd-6-1-5-RELEASE/sys/arch/prep/include/
H A Dcpu.h38 extern char bootpath[];
/netbsd-6-1-5-RELEASE/sys/arch/rs6000/include/
H A Dcpu.h38 extern char bootpath[];
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/include/
H A Dcpu.h38 extern char *bootpath;
/netbsd-6-1-5-RELEASE/sys/arch/ibmnws/include/
H A Dcpu.h38 extern char *bootpath;
/netbsd-6-1-5-RELEASE/sys/arch/macppc/include/
H A Dcpu.h38 extern char bootpath[];
/netbsd-6-1-5-RELEASE/sys/arch/bebox/include/
H A Dcpu.h38 extern char bootpath[];
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/
H A Dhfs.c42 char bootpath[128], *cp; local
46 memset(bootpath, 0, sizeof bootpath);
47 OF_getprop(chosen, "bootpath", bootpath, sizeof bootpath);
48 cp = strrchr(bootpath, ',');
53 OF_fd = OF_open(bootpath);
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/bootxx/
H A Dbootxx.c263 char bootpath[128]; local
268 if (OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath)) == 1) {
270 * buggy firmware doesn't set bootpath...
273 OF_getprop(options, "boot-device", bootpath, sizeof(bootpath));
282 for (i = 0; i < sizeof(bootpath); i++) {
283 if (bootpath[i] == ':')
284 bootpath[
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/atari/
H A Dmd.c129 char bootpath[MAXPATHLEN]; local
144 snprintf(bootpath, sizeof(bootpath), "/usr/mdec/%s/boot.atari",
146 rv = cp_to_target(bootpath, "/");
/netbsd-6-1-5-RELEASE/sys/arch/mvmeppc/include/
H A Dcpu.h38 extern char *bootpath;
/netbsd-6-1-5-RELEASE/sys/arch/pmax/include/
H A Dbootinfo.h58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/include/
H A Dbootinfo.h52 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/include/
H A Dbootinfo.h58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
/netbsd-6-1-5-RELEASE/sys/arch/emips/include/
H A Dbootinfo.h58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
/netbsd-6-1-5-RELEASE/sys/arch/arc/include/
H A Dbootinfo.h52 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
/netbsd-6-1-5-RELEASE/sys/arch/pmax/stand/common/
H A Dboot.c114 char bootname[PATH_MAX], bootpath[PATH_MAX]; local
152 strcpy(bootpath, dev);
153 strcat(bootpath, kernel);
154 printf("Loading: %s\n", bootpath);
155 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
157 name = bootpath;
164 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
190 * bootpath including the kernel name. This code to do this
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/stand/common/
H A Dboot.c107 char bootname[PATH_MAX], bootpath[PATH_MAX]; local
150 strcpy(bootpath, dev);
151 strcat(bootpath, kernel);
152 printf("Loading: %s\n", bootpath);
153 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
155 name = bootpath;
162 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
/netbsd-6-1-5-RELEASE/sys/arch/arc/stand/boot/
H A Dboot.c133 const char *bootpath = NULL; local
166 bootpath = firmware_getenv("OSLoadPartition");
167 if (bootpath == NULL)
168 bootpath =
171 if (bootpath == NULL) {
176 DPRINTF("bootpath = %s\n", bootpath);
204 * contains the bootpath and ignore anything passed through
210 strcpy(bootfile, bootpath);
218 strcpy(bootfile, bootpath);
[all...]
/netbsd-6-1-5-RELEASE/sbin/gpt/
H A Dbiosboot.c66 static char *bootpath; variable
86 if (bootpath == NULL) {
87 bootpath = strdup(DEFAULT_BOOTDIR "/" DEFAULT_BOOTCODE);
89 if (strchr(bootpath, '/') == 0) {
91 if ((p = strdup(bootpath)) == NULL)
93 free(bootpath);
94 (void)asprintf(&bootpath, "%s/%s", DEFAULT_BOOTDIR, p);
98 if (bootpath == NULL)
104 if ((bfd = open(bootpath, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
105 warn("%s", bootpath);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/stand/common/
H A Dboot.c125 const char *bootpath = NULL; local
157 * install. The bootpath will therefore be partition 0 of whatever
175 bootpath = arcbios_GetEnvironmentVariable("OSLoadPartition");
177 if (bootpath == NULL) {
202 * contains the bootpath and ignore anything passed through
208 strcpy(bootfile, bootpath);
216 strcpy(bootfile, bootpath);
232 strlcpy(bi_bpath.bootpath, bootfile, BTINFO_BOOTPATH_LEN);
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/netboot/
H A Ddevopen.c72 strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
/netbsd-6-1-5-RELEASE/sys/arch/mmeye/stand/boot/
H A Dboot.c188 char bootpath[PATH_MAX]; local
227 bootpath[0] = '\0';
229 strcpy(bootpath, dev ? dev : DEFBOOTDEV);
230 strcat(bootpath, ":");
231 strcat(bootpath, kernel);
233 printf("Loading: %s", bootpath);
237 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
248 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/
H A Dpromlib.c74 static char bootpath[PROM_MAX_PATH]; local
76 if (_prom_getprop(openfirmware_chosen(), "bootpath", bootpath,
77 sizeof(bootpath)) < 0) {
81 return bootpath;
/netbsd-6-1-5-RELEASE/sys/arch/landisk/include/
H A Dbootinfo.h43 char bootpath[80]; member in struct:btinfo_bootpath

Completed in 298 milliseconds

123