Home
last modified time | relevance | path

Searched refs:bootfile (Results 1 – 25 of 61) sorted by relevance

123

/netbsd-src/sys/arch/sgimips/stand/common/
H A Dboot.c126 char bootfile[PATH_MAX]; in main() local
164 strcpy(bootfile, argv[0]); in main()
165 ep = strrchr(bootfile, ')'); in main()
166 i = ep - bootfile; in main()
167 bootfile[i - 1] = '0'; in main()
168 if (strstr(bootfile, "ip3x")) in main()
173 if ((loadfile(bootfile, marks, LOAD_KERNEL)) >= 0) in main()
210 strcpy(bootfile, bootpath); in main()
211 strcat(bootfile, kernel); in main()
212 win = loadfile(bootfile, marks, LOAD_KERNEL); in main()
[all …]
/netbsd-src/sys/arch/pmax/stand/smallnet/setnetimage/
H A Dsetnetimage.c81 const char *kernel, *bootfile; in main() local
97 bootfile = argv[2]; in main()
102 if ((ofd = open(bootfile, O_RDWR)) < 0) in main()
103 err(1, "%s", bootfile); in main()
105 if (nlist(bootfile, nl) != 0) in main()
106 errx(1, "Could not find symbols in %s", bootfile); in main()
109 err(1, "fstat %s", bootfile); in main()
111 errx(1, "%s too big to map", bootfile); in main()
115 err(1, "mmap %s", bootfile); in main()
116 printf("mapped %s\n", bootfile); in main()
[all …]
/netbsd-src/sys/arch/sandpoint/stand/altboot/
H A Ddev_net.c78 snprintf(bootfile, sizeof(bootfile), "%s", file); in net_open()
79 else if (bootfile[0] == '\0') in net_open()
80 snprintf(bootfile, sizeof(bootfile), "netbsd"); in net_open()
86 snprintf(bi_path.bootpath, sizeof(bi_path.bootpath), "%s", bootfile); in net_open()
H A Ddevopen.c63 extern char bootfile[]; /* handed by DHCP */ in devopen()
80 *file = bootfile; /* resolved fname */ in devopen()
88 *file = bootfile; /* resolved fname */ in devopen()
/netbsd-src/sys/arch/hpcmips/stand/lcboot/
H A Ddev_net.c68 bootfile[0] = '\0'; in net_open()
73 strlcpy(bootfile, fname, sizeof bootfile); in net_open()
87 strlcpy(bootfile, fname, sizeof bootfile); in net_open()
90 *file = bootfile; in net_open()
/netbsd-src/sys/arch/arc/stand/boot/
H A Dboot.c134 char bootfile[PATH_MAX]; in main() local
210 strcpy(bootfile, bootpath); in main()
211 strcat(bootfile, kernel); in main()
212 win = loadfile(bootfile, marks, LOAD_KERNEL); in main()
218 strcpy(bootfile, bootpath); in main()
219 strcat(bootfile, kernelnames[i]); in main()
221 win = loadfile(bootfile, marks, LOAD_KERNEL); in main()
/netbsd-src/sys/arch/mipsco/stand/common/
H A Dchecksize.sh43 bootfile=$1
46 prog_size=`wc -c $bootfile | awk '{print $1}'`
49 echo "$progname: couldn't get size of $bootfile" 2>&1
53 echo -n "checking sizes for $bootfile... "
/netbsd-src/sys/arch/evbarm/stand/boot2440/
H A Ddev_net.c102 strcpy(bootfile, ++filename); in net_open()
103 printf("Bootfile: %s\n", bootfile); in net_open()
106 strcpy(bootfile, path); in net_open()
111 if (bootfile[0] == '\0') in net_open()
112 strcpy(bootfile, "netbsd"); in net_open()
H A Ddevopen.c78 extern char bootfile[]; in devopen()
86 *file = bootfile; in devopen()
87 strncpy(bi_path.bootpath, bootfile, sizeof(bi_path.bootpath)); in devopen()
96 *file = bootfile; in devopen()
97 strncpy(bi_path.bootpath, bootfile, sizeof(bi_path.bootpath)); in devopen()
/netbsd-src/sys/arch/emips/stand/common/
H A Dchecksize.sh44 bootfile=$1
52 size_data=`$SIZE $bootfile`
54 echo "$progname: couldn't get size of $bootfile" 2>&1
61 echo -n "checking sizes for $bootfile... "
/netbsd-src/sys/arch/pmax/stand/common/
H A Dchecksize.sh44 bootfile=$1
52 size_data=`$SIZE $bootfile`
54 echo "$progname: couldn't get size of $bootfile" 2>&1
61 echo -n "checking sizes for $bootfile... "
/netbsd-src/usr.sbin/bootp/bootpd/
H A Dbootpd.c602 char *homedir, *bootfile; in handle_request() local
825 bootfile = NULL; in handle_request()
840 bootfile = strrchr(homedir, '/'); in handle_request()
841 if (bootfile) { in handle_request()
842 if (homedir == bootfile) in handle_request()
844 *bootfile++ = '\0'; in handle_request()
847 bootfile = homedir; in handle_request()
853 (bootfile) ? bootfile : ""); in handle_request()
862 if (hp->flags.bootfile) in handle_request()
863 bootfile = hp->bootfile->string; in handle_request()
[all …]
H A DAnnounce.old37 o The automatic bootfile-size calculation now works correctly when the
64 o The definition of "access to the bootfile" has been changed to require the
67 o The RFC1084 bootfile size tag has been implemented. It allows either
68 automatic or manual specification of the bootfile size in 512-octet blocks.
74 o Failure to specify the bootfile home directory and/or default bootfile in
/netbsd-src/sys/arch/sbmips/stand/common/
H A Dchecksize.sh45 bootfile=$2
60 load_size=`ls -l $bootfile | awk ' { print $5 }'`
62 echo -n "checking sizes for $bootfile/$bootobj... "
/netbsd-src/sys/arch/alpha/stand/common/
H A Dchecksize.sh45 bootfile=$2
60 load_size=`ls -l $bootfile | awk ' { print $5 }'`
62 echo -n "checking sizes for $bootfile/$bootobj... "
/netbsd-src/sys/arch/evbmips/stand/sbmips/common/
H A Dchecksize.sh45 bootfile=$2
60 load_size=`ls -l $bootfile | awk ' { print $5 }'`
62 echo -n "checking sizes for $bootfile/$bootobj... "
/netbsd-src/sys/lib/libsa/
H A Dbootp.c159 (void)strncpy((char *)bp->bp_file, bootfile, sizeof(bp->bp_file)); in bootp()
221 (void)memcpy(bootfile, rbuf.rbootp.bp_file, sizeof(bootfile)); in bootp()
222 bootfile[sizeof(bootfile) - 1] = '\0'; in bootp()
271 if (bootfile[0] != '\0') in bootp()
272 printf("file name: %s\n", bootfile); in bootp()
/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Dmain.c107 bootfile = GetEnvironmentVariable(ARCENV_BOOTFILE); in ski_main()
108 if (bootfile) in ski_main()
109 setenv("bootfile", bootfile, 1); in ski_main()
/netbsd-src/sys/arch/i386/stand/pxeboot/
H A Ddevopen.c86 strncpy(bootfile, fname, FNAME_SIZE); in devopen()
105 if (strchr(bootfile, ':')) in devopen()
106 fname = bootfile; in devopen()
/netbsd-src/usr.sbin/sysinst/arch/news68k/
H A Dmd.c156 const char *bootfile = "/boot"; in md_post_newfs() local
159 cp_to_target("/usr/mdec/boot", bootfile); in md_post_newfs()
162 pm->diskdev, "/usr/mdec/bootxx", bootfile); in md_post_newfs()
/netbsd-src/usr.sbin/sysinst/arch/newsmips/
H A Dmd.c152 const char *bootfile = "/boot"; in md_post_newfs() local
155 cp_to_target("/usr/mdec/boot", bootfile); in md_post_newfs()
158 pm->diskdev, "/usr/mdec/bootxx", bootfile); in md_post_newfs()
/netbsd-src/usr.sbin/sysinst/arch/macppc/
H A Dmd.c152 const char *bootfile = "/boot"; in md_post_newfs() local
180 cp_to_target("/usr/mdec/ofwboot", bootfile); in md_post_newfs()
183 pm->diskdev, "/usr/mdec/bootxx", bootfile); in md_post_newfs()
/netbsd-src/sys/arch/sgimips/sgimips/
H A Darcemu.c198 char bootfile[50]; member
295 if (memcmp(nvram.bootfile, "dksc(", 5) == 0 || in arcemu_eeprom_read()
296 memcmp(nvram.bootfile, "bootp(", 6) == 0) in arcemu_eeprom_read()
450 hack = strstr(nvram.bootfile, ",8)"); in arcemu_GetEnvironmentVariable()
453 return (nvram.bootfile); in arcemu_GetEnvironmentVariable()
460 if ((file = strrchr(nvram.bootfile, ')')) != NULL) in arcemu_GetEnvironmentVariable()
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Ddevopen.c222 strlcpy(bootfile, filename, sizeof(bootfile)); in devopen()
248 filename = strchr(bootfile, ':'); in devopen()
250 fname = bootfile; in devopen()
/netbsd-src/sys/stand/efiboot/
H A Ddev_net.c74 if (bootfile[0] != '\0') in net_open()
75 printf("boot: file name: %s\n", bootfile); in net_open()

123