Searched refs:howto (Results 1 - 25 of 213) sorted by relevance

123456789

/src/sys/arch/arm/arm32/
H A Darm32_reboot.c139 docpureset(int howto) argument
141 if ((howto & RB_POWERDOWN) == RB_POWERDOWN) {
150 if (howto & RB_HALT) {
168 cpu_reboot(int howto, char *bootstr) argument
177 docpureset(RB_HALT | howto);
187 if (!(howto & RB_NOSYNC))
194 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP)
210 docpureset(howto);
/src/sys/arch/emips/emips/
H A Dmachdep.h34 void prom_halt (int howto) __attribute__((__noreturn__));
/src/sys/arch/aarch64/aarch64/
H A Daarch64_reboot.c144 docpureset(int howto) argument
146 if ((howto & RB_POWERDOWN) == RB_POWERDOWN) {
155 if (howto & RB_HALT) {
210 cpu_reboot(int howto, char *bootstr) argument
219 docpureset(RB_HALT | howto);
229 if ((howto & RB_NOSYNC) == 0)
236 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP)
252 docpureset(howto);
/src/sys/arch/x68k/stand/libsa/
H A Dparseutils.c74 parseopts(const char *opts, int *howto) argument
90 *howto = tmpopt;
95 parseboot(char *arg, char **filename, int *howto) argument
100 *howto = 0;
129 if (parseopts(opts, howto) == 0)
/src/sys/arch/evbarm/iq31244/
H A Diq31244_machdep.c54 iq31244_reboot(int howto) argument
58 if ((howto & RB_HALT) == 0) {
/src/sys/arch/luna68k/stand/boot/
H A Dboot.c90 int i, howto; local in function:boot
94 howto = 0;
99 BOOT_FLAG(c, howto);
107 if (howto != 0)
108 printf(" (howto 0x%x)", howto);
111 return bootnetbsd(line, howto);
115 bootnetbsd(char *line, int howto) argument
145 : "g" (howto), "g" (bootdev),
/src/sbin/reboot/
H A Dreboot.c74 int ch, howto, lflag, nflag, qflag, sverrno, len; local in function:main
83 howto = RB_HALT;
86 howto = RB_HALT | RB_POWERDOWN;
88 howto = 0;
93 howto |= RB_DUMP;
100 howto |= RB_NOSYNC;
105 howto |= RB_POWERDOWN;
111 howto |= AB_VERBOSE;
114 howto |= AB_DEBUG;
117 howto |
[all...]
/src/sys/arch/evbmips/malta/
H A Dmachdep.c239 int howto; local in function:mach_init
244 howto = 0;
245 BOOT_FLAG(*cp, howto);
246 if (! howto)
249 boothowto |= howto;
319 cpu_reboot(int howto, char *bootstr) argument
326 howto |= RB_HALT;
332 howto |= RB_HALT;
334 boothowto = howto;
335 if ((howto
[all...]
/src/sys/arch/hp300/stand/uboot/
H A Duboot.c43 * Boot program... bits in `howto' determine whether boot stops to
91 howto = 0;
92 getbootdev(&howto);
95 exec_hp300(name, (u_long)lowram, howto);
101 getbootdev(int *howto) argument
121 BOOT_FLAG(c, *howto);
/src/sys/arch/i386/stand/lib/
H A Dparseutils.c77 parseopts(const char *opts, int *howto) argument
106 *howto = tmpopt;
111 parseboot(char *arg, char **filename, int *howto) argument
116 *howto = 0;
146 if (parseopts(opts, howto) == 0)
/src/sys/arch/mvme68k/stand/libsa/
H A Dparse_args.c44 int howto = 0, part = 0; local in function:parse_args
75 BOOT_FLAG(c, howto);
78 *flagp = howto;
/src/sys/arch/mvmeppc/stand/libsa/
H A Dparse_args.c44 int howto = 0, part = 0; local in function:parse_args
75 BOOT_FLAG(c, howto);
78 *flagp = howto;
/src/sys/arch/zaurus/stand/zboot/
H A Dboot.c86 static int exec_netbsd(const char *file, int howto);
251 bootit(const char *filename, int howto, int tell) argument
256 if (howto)
257 printf(" (howto 0x%x)", howto);
261 if (exec_netbsd(filename, howto) < 0) {
270 exec_netbsd(const char *file, int howto) argument
276 bi_howto.howto = howto;
295 static int parseopts(const char *opts, int *howto);
340 int howto; local in function:bootcmd_boot
455 parseopts(const char * opts,int * howto) argument
477 parseboot(char * arg,char ** filename,int * howto) argument
[all...]
/src/sys/arch/landisk/stand/boot/
H A Dboot2.c80 void bootit(const char *filename, int howto, int tell);
84 int exec_netbsd(const char *file, int howto);
87 static int parseopts(const char *opts, int *howto);
88 static int parseboot(char *arg, char **filename, int *howto);
194 bootit(const char *filename, int howto, int tell) argument
199 if (howto)
200 printf(" (howto 0x%x)", howto);
204 if (exec_netbsd(filename, howto) < 0) {
268 exec_netbsd(const char *file, int howto) argument
367 int howto; local in function:bootcmd_boot
452 parseopts(const char * opts,int * howto) argument
474 parseboot(char * arg,char ** filename,int * howto) argument
[all...]
/src/sys/arch/mipsco/mipsco/
H A Dmachdep.c164 int i, howto; local in function:mach_init
240 howto = 0;
241 BOOT_FLAG(*cp, howto);
242 if (! howto)
245 boothowto |= howto;
343 prom_halt(int howto) argument
345 if (howto & RB_HALT)
352 cpu_reboot(volatile int howto, char *bootstr) argument
364 howto |= RB_HALT;
370 howto |
[all...]
/src/sys/arch/mvme68k/stand/netboot/
H A Dboot.c53 int ask = 0, howto, part, sboot = 0; local in function:main
64 parse_args(&file, &howto, &part);
76 parse_args(&file, &howto, &part);
80 howto |= RB_SBOOT;
81 exec_mvme(file, howto, part);
/src/sys/arch/dreamcast/dreamcast/
H A Dmachdep.c200 cpu_reboot(int howto, char *bootstr) argument
208 howto |= RB_HALT;
215 if ((howto & RB_HALT) == 0) {
216 if ((howto & RB_STRING) && bootstr != NULL) {
223 boothowto = howto;
224 if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
233 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP)
241 if (howto & RB_HALT) {
249 else if ((howto & RB_STRING) && bootstr != NULL) {
/src/sys/arch/playstation2/playstation2/
H A Dmachdep.c174 cpu_reboot(int howto, char *bootstr) argument
186 howto |= RB_HALT;
192 howto |= RB_HALT;
201 if ((howto & RB_HALT) == 0)
205 boothowto = howto;
206 if ((howto & RB_NOSYNC) == 0 && (waittime < 0)) {
213 if (howto & RB_DUMP)
221 if ((howto & RB_POWERDOWN) == RB_POWERDOWN)
223 else if (howto & RB_HALT)
/src/sys/arch/evbmips/gdium/
H A Dmachdep.c205 int howto; local in function:mach_init
330 howto = 0;
331 BOOT_FLAG(*cp, howto);
332 if (! howto)
335 boothowto |= howto;
399 cpu_reboot(int howto, char *bootstr) argument
406 howto |= RB_HALT;
412 howto |= RB_HALT;
414 boothowto = howto;
415 if ((howto
[all...]
/src/sys/arch/hp300/stand/common/
H A Dexec.c47 exec_hp300(char *file, u_long loadaddr, int howto) argument
67 machdep_start((char *)marks[MARK_ENTRY], howto,
/src/sys/arch/hppa/stand/common/
H A Dexec_hppa.c48 machdep_exec(struct x_param *xp, int howto, void *loadaddr) argument
80 (*(startfuncp)(xp->xp_entry)) ((int)pdc, howto, bootdev, xp->xp_end,
/src/sys/arch/landisk/landisk/
H A Dkloader_machdep.c83 int howto; local in function:kloader_landisk_boot
104 /* XXX: howto */
105 howto = 0;
114 : : "r" (howto), "r" (&kbi->bootinfo), "r" (kbi->entry));
H A Dmachdep.c152 landisk_startup(int howto, void *bi) argument
188 boothowto = howto;
294 cpu_reboot(int howto, char *bootstr) argument
298 howto |= RB_HALT;
303 if ((howto & RB_HALT) == 0) {
304 if ((howto & RB_STRING) && (bootstr != NULL)) {
315 boothowto = howto;
316 if ((howto & RB_NOSYNC) == 0) {
327 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP) {
336 if ((howto
[all...]
/src/sys/arch/mvmeppc/stand/boot/
H A Dboot.c92 int ask = 0, howto, part; local in function:main
114 parse_args(bbi->bbi_argstart, bbi->bbi_argend, &file, &howto, &part);
132 &file, &howto, &part);
136 bootinfo.bi_boothowto = howto;
149 exec_mvme(file, howto, part);
/src/sys/arch/i386/stand/dosboot/
H A Dmain.c174 bootit(const char *filename, int howto, int tell) argument
179 if (howto)
180 printf(" (howto 0x%x)", howto);
183 if (exec_netbsd(filename, 0, howto, floppy, NULL) < 0)
215 int howto; local in function:main
264 howto = 0;
265 if (argc > 1 && !parseopts(argv[1], &howto))
268 bootit((argc > 0 ? argv[0] : "netbsd"), howto, 1);
307 int howto; local in function:command_boot
[all...]

Completed in 21 milliseconds

123456789