/src/sys/arch/arm/arm32/ |
arm32_reboot.c | 142 docpureset(int howto) 144 if ((howto & RB_POWERDOWN) == RB_POWERDOWN) { 153 if (howto & RB_HALT) { 171 cpu_reboot(int howto, char *bootstr) 180 docpureset(RB_HALT | howto); 190 if (!(howto & RB_NOSYNC)) 197 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP) 213 docpureset(howto);
|
/src/sys/arch/emips/emips/ |
machdep.h | 34 void prom_halt (int howto) __attribute__((__noreturn__));
|
/src/sys/arch/aarch64/aarch64/ |
aarch64_reboot.c | 147 docpureset(int howto) 149 if ((howto & RB_POWERDOWN) == RB_POWERDOWN) { 158 if (howto & RB_HALT) { 213 cpu_reboot(int howto, char *bootstr) 222 docpureset(RB_HALT | howto); 232 if ((howto & RB_NOSYNC) == 0) 239 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP) 255 docpureset(howto);
|
/src/sys/arch/x68k/stand/libsa/ |
parseutils.c | 74 parseopts(const char *opts, int *howto) 90 *howto = tmpopt; 95 parseboot(char *arg, char **filename, int *howto) 100 *howto = 0; 129 if (parseopts(opts, howto) == 0)
|
/src/sys/arch/evbarm/iq31244/ |
iq31244_machdep.c | 54 iq31244_reboot(int howto) 58 if ((howto & RB_HALT) == 0) {
|
/src/sys/arch/luna68k/stand/boot/ |
boot.c | 90 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) 145 : "g" (howto), "g" (bootdev),
|
/src/sbin/reboot/ |
reboot.c | 74 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 |= AB_SILENT [all...] |
/src/sys/arch/evbmips/malta/ |
machdep.c | 239 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) 326 howto |= RB_HALT; 332 howto |= RB_HALT; 334 boothowto = howto; 335 if ((howto & RB_NOSYNC) == 0 && (waittime < 0)) [all...] |
/src/sys/arch/i386/stand/lib/ |
parseutils.c | 77 parseopts(const char *opts, int *howto) 106 *howto = tmpopt; 111 parseboot(char *arg, char **filename, int *howto) 116 *howto = 0; 146 if (parseopts(opts, howto) == 0)
|
/src/sys/arch/hp300/stand/uboot/ |
uboot.c | 43 * 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) 121 BOOT_FLAG(c, *howto);
|
/src/sys/arch/mvme68k/stand/libsa/ |
parse_args.c | 44 int howto = 0, part = 0; local in function:parse_args 75 BOOT_FLAG(c, howto); 78 *flagp = howto;
|
/src/sys/arch/mvmeppc/stand/libsa/ |
parse_args.c | 44 int howto = 0, part = 0; local in function:parse_args 75 BOOT_FLAG(c, howto); 78 *flagp = howto;
|
/src/sys/arch/landisk/stand/boot/ |
boot2.c | 80 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) 199 if (howto) 200 printf(" (howto 0x%x)", howto); 204 if (exec_netbsd(filename, howto) < 0) { 268 exec_netbsd(const char *file, int howto) 367 int howto; local in function:bootcmd_boot [all...] |
/src/sys/arch/zaurus/stand/zboot/ |
boot.c | 86 static int exec_netbsd(const char *file, int howto); 251 bootit(const char *filename, int howto, int tell) 256 if (howto) 257 printf(" (howto 0x%x)", howto); 261 if (exec_netbsd(filename, howto) < 0) { 270 exec_netbsd(const char *file, int howto) 276 bi_howto.howto = howto; 295 static int parseopts(const char *opts, int *howto); 340 int howto; local in function:bootcmd_boot [all...] |
/src/sys/arch/mipsco/mipsco/ |
machdep.c | 164 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) 345 if (howto & RB_HALT) 352 cpu_reboot(volatile int howto, char *bootstr) 364 howto |= RB_HALT; 370 howto |= RB_HALT [all...] |
/src/sys/arch/mvme68k/stand/netboot/ |
boot.c | 53 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/ |
machdep.c | 200 cpu_reboot(int howto, char *bootstr) 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/ |
machdep.c | 174 cpu_reboot(int howto, char *bootstr) 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/ |
machdep.c | 205 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) 406 howto |= RB_HALT; 412 howto |= RB_HALT; 414 boothowto = howto; 415 if ((howto & RB_NOSYNC) == 0 && (waittime < 0)) [all...] |
/src/sys/arch/hp300/stand/common/ |
exec.c | 47 exec_hp300(char *file, u_long loadaddr, int howto) 67 machdep_start((char *)marks[MARK_ENTRY], howto,
|
/src/sys/arch/hppa/stand/common/ |
exec_hppa.c | 48 machdep_exec(struct x_param *xp, int howto, void *loadaddr) 80 (*(startfuncp)(xp->xp_entry)) ((int)pdc, howto, bootdev, xp->xp_end,
|
/src/sys/arch/landisk/landisk/ |
kloader_machdep.c | 83 int howto; local in function:kloader_landisk_boot 104 /* XXX: howto */ 105 howto = 0; 114 : : "r" (howto), "r" (&kbi->bootinfo), "r" (kbi->entry));
|
machdep.c | 152 landisk_startup(int howto, void *bi) 188 boothowto = howto; 294 cpu_reboot(int howto, char *bootstr) 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 & RB_POWERDOWN) == RB_POWERDOWN) [all...] |
/src/sys/arch/mvmeppc/stand/boot/ |
boot.c | 92 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/ |
main.c | 174 bootit(const char *filename, int howto, int tell) 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...] |