/netbsd/sys/arch/evbmips/atheros/ |
H A D | machdep.c | 218 boothowto = RB_AUTOBOOT; in mach_init() 220 boothowto |= RB_KDB; in mach_init() 290 if (boothowto & RB_KDB) in mach_init() 321 if (boothowto & RB_HALT) in cpu_reboot() 324 boothowto = howto; in cpu_reboot() 328 boothowto |= RB_HALT; in cpu_reboot() 332 if ((boothowto & RB_NOSYNC) == 0 && waittime < 0) { in cpu_reboot() 350 if (boothowto & RB_DUMP) in cpu_reboot() 357 pmf_system_shutdown(boothowto); in cpu_reboot() 360 if ((boothowto & RB_POWERDOWN) == RB_POWERDOWN) in cpu_reboot() [all …]
|
/netbsd/sys/arch/evbmips/alchemy/ |
H A D | machdep.c | 250 boothowto = RB_AUTOBOOT; in mach_init() 252 boothowto |= RB_KDB; in mach_init() 265 boothowto |= howto; in mach_init() 325 if (boothowto & RB_KDB) in mach_init() 359 if (boothowto & RB_HALT) in cpu_reboot() 362 boothowto = howto; in cpu_reboot() 366 boothowto |= RB_HALT; in cpu_reboot() 388 if (boothowto & RB_DUMP) in cpu_reboot() 395 pmf_system_shutdown(boothowto); in cpu_reboot() 406 if (boothowto & RB_HALT) { in cpu_reboot() [all …]
|
/netbsd/sys/arch/algor/algor/ |
H A D | machdep.c | 370 boothowto = 0; in mach_init() 381 boothowto |= RB_KDB; in mach_init() 386 boothowto |= RB_HALT; in mach_init() 394 boothowto |= RB_SINGLE; in mach_init() 398 boothowto |= AB_QUIET; in mach_init() 496 if (boothowto & RB_KDB) { in mach_init() 548 if (boothowto & RB_HALT) in cpu_reboot() 551 boothowto = howto; in cpu_reboot() 555 boothowto |= RB_HALT; in cpu_reboot() 572 if (boothowto & RB_DUMP) in cpu_reboot() [all …]
|
/netbsd/sys/arch/evbmips/ingenic/ |
H A D | machdep.c | 187 boothowto = RB_AUTOBOOT; in mach_init() 189 boothowto |= RB_KDB; in mach_init() 246 if (boothowto & RB_KDB) in mach_init() 277 if (boothowto & RB_HALT) in cpu_reboot() 280 boothowto = howto; in cpu_reboot() 284 boothowto |= RB_HALT; in cpu_reboot() 288 if ((boothowto & RB_NOSYNC) == 0 && waittime < 0) { in cpu_reboot() 306 if (boothowto & RB_DUMP) in cpu_reboot() 313 pmf_system_shutdown(boothowto); in cpu_reboot() 316 if ((boothowto & RB_POWERDOWN) == RB_POWERDOWN) in cpu_reboot() [all …]
|
/netbsd/sys/arch/evbmips/rasoc/ |
H A D | machdep.c | 154 boothowto = RB_AUTOBOOT; in mach_init() 156 boothowto |= RB_KDB; in mach_init() 209 if (boothowto & RB_KDB) in mach_init() 229 if (boothowto & RB_HALT) in cpu_reboot() 232 boothowto = howto; in cpu_reboot() 236 boothowto |= RB_HALT; in cpu_reboot() 240 if ((boothowto & RB_NOSYNC) == 0 && waittime < 0) { in cpu_reboot() 258 if (boothowto & RB_DUMP) in cpu_reboot() 265 pmf_system_shutdown(boothowto); in cpu_reboot() 272 if (boothowto & RB_HALT) { in cpu_reboot()
|
/netbsd/sys/arch/evbmips/cavium/ |
H A D | machdep.c | 282 if (boothowto & RB_KDB) in mach_init() 421 boothowto |= RB_MD1; in parse_boot_args() 424 boothowto |= RB_SINGLE; in parse_boot_args() 427 boothowto |= RB_KDB; in parse_boot_args() 430 boothowto |= RB_ASKNAME; in parse_boot_args() 433 boothowto |= AB_QUIET; in parse_boot_args() 436 boothowto |= AB_VERBOSE; in parse_boot_args() 439 boothowto |= AB_DEBUG; in parse_boot_args() 442 boothowto |= AB_SILENT; in parse_boot_args() 493 if (boothowto & RB_HALT) in cpu_reboot() [all …]
|
/netbsd/sys/arch/sparc/stand/ofwboot/ |
H A D | boot.c | 256 int boothowto) in jump_to_kernel() argument 285 bi_howto.boothowto = boothowto; in jump_to_kernel() 367 int boothowto) in start_kernel() argument 448 int boothowto, i = 0, isfloppy, kboothowto; in main() local 461 kboothowto = boothowto = in main() 466 if (boothowto & RB_ASKNAME) { in main() 481 boothowto = bootoptions(cmdline, bootdev, kernel, in main() 483 boothowto |= RB_ASKNAME; in main() 489 boothowto |= RB_ASKNAME; in main() 498 boothowto |= RB_ASKNAME; in main() [all …]
|
/netbsd/sys/arch/evbmips/mipssim/ |
H A D | machdep.c | 180 boothowto = RB_AUTOBOOT; in mach_init() 182 boothowto |= RB_KDB; in mach_init() 212 if (boothowto & RB_KDB) in mach_init() 320 if (boothowto & RB_HALT) in cpu_reboot() 323 boothowto = howto; in cpu_reboot() 327 boothowto |= RB_HALT; in cpu_reboot() 331 if ((boothowto & RB_NOSYNC) == 0 && waittime < 0) { in cpu_reboot() 349 if (boothowto & RB_DUMP) in cpu_reboot() 361 if (boothowto & RB_HALT) { in cpu_reboot()
|
/netbsd/sys/arch/arc/arc/ |
H A D | machdep.c | 265 boothowto = RB_SINGLE; in mach_init() 270 boothowto |= RB_KDB; in mach_init() 278 boothowto &= ~RB_SINGLE; in mach_init() 282 boothowto |= RB_MINIROOT; in mach_init() 286 boothowto |= RB_ASKNAME; in mach_init() 290 boothowto &= ~RB_ASKNAME; in mach_init() 298 boothowto |= AB_QUIET; in mach_init() 302 boothowto |= AB_VERBOSE; in mach_init() 355 if (boothowto & RB_MINIROOT) in mach_init() 536 boothowto = howto; in cpu_reboot() [all …]
|
/netbsd/sys/arch/evbmips/adm5120/ |
H A D | machdep.c | 322 boothowto = RB_AUTOBOOT; in mach_init() 324 boothowto |= RB_KDB; in mach_init() 397 if (boothowto & RB_KDB) in mach_init() 435 if (boothowto & RB_HALT) in cpu_reboot() 438 boothowto = howto; in cpu_reboot() 442 boothowto |= RB_HALT; in cpu_reboot() 446 if ((boothowto & RB_NOSYNC) == 0 && waittime < 0) { in cpu_reboot() 464 if (boothowto & RB_DUMP) in cpu_reboot() 471 pmf_system_shutdown(boothowto); in cpu_reboot() 476 if (boothowto & RB_HALT) { in cpu_reboot()
|
/netbsd/sys/arch/sparc/stand/boot/ |
H A D | boot.c | 53 int boothowto; variable 206 if (boothowto & AB_VERBOSE) in loadk() 279 boothowto = bootoptions(prom_getbootargs()); in main() 285 if (boothowto & RB_ASKNAME) { in main() 298 boothowto &= ~RB_ASKNAME; in main() 310 boothowto |= RB_ASKNAME; in main() 318 if ((boothowto & RB_ASKNAME) == 0 && in main() 324 boothowto |= RB_ASKNAME; in main() 342 bi_howto.boothowto = boothowto; in main()
|
/netbsd/sys/arch/macppc/stand/ofwboot/ |
H A D | boot.c | 97 int boothowto; variable 265 parseargs(bootline, &boothowto); in main() 271 if (boothowto & RB_ASKNAME) { in main() 274 parseargs(bootline, &boothowto); in main() 296 boothowto |= RB_ASKNAME; in main() 310 if (boothowto & RB_ASKNAME) in main() 312 if (boothowto & RB_USERCONF) in main() 314 if (boothowto & RB_SINGLE) in main() 316 if (boothowto & RB_KDB) in main()
|
/netbsd/sys/arch/pmax/pmax/ |
H A D | machdep.c | 262 boothowto = RB_SINGLE; in mach_init() 264 boothowto |= RB_KDB; in mach_init() 270 boothowto &= ~RB_SINGLE; in mach_init() 274 boothowto |= RB_ASKNAME; in mach_init() 278 boothowto &= ~RB_ASKNAME; in mach_init() 282 BOOT_FLAG(*cp, boothowto); in mach_init() 292 if (boothowto & RB_MINIROOT) in mach_init() 301 if (boothowto & RB_KDB) in mach_init() 432 if ((boothowto & RB_HALT) != 0) in cpu_reboot() 435 boothowto = howto; in cpu_reboot() [all …]
|
/netbsd/sys/arch/x68k/stand/loadbsd/ |
H A D | loadbsd.c | 368 arg->xk.boothowto = in read_kernel() 449 u_long boothowto = RB_SINGLE; in main() local 471 boothowto |= AB_VERBOSE; /* XXX */ in main() 489 boothowto |= RB_ASKNAME; in main() 492 boothowto &= ~RB_SINGLE; in main() 495 boothowto |= RB_SINGLE; in main() 498 boothowto |= RB_KDB; in main() 501 boothowto |= AB_QUIET; in main() 527 xwarnx("boothowto 0x%x", boothowto); in main() 532 tramp->xk.boothowto = boothowto; in main()
|
/netbsd/sys/arch/shark/stand/ofwboot/ |
H A D | boot.c | 99 int boothowto; variable 211 parseargs(bootline, &boothowto); in main() 233 if (boothowto & RB_ASKNAME) { in main() 236 parseargs(bootline, &boothowto); in main() 252 boothowto |= RB_ASKNAME; in main() 273 if (boothowto & RB_ASKNAME) in main() 275 if (boothowto & RB_SINGLE) in main() 277 if (boothowto & RB_KDB) in main()
|
/netbsd/sys/arch/ofppc/stand/ofwboot/ |
H A D | boot.c | 100 int boothowto; variable 225 parseargs(bootline, &boothowto); in main() 231 if (boothowto & RB_ASKNAME) { in main() 234 parseargs(bootline, &boothowto); in main() 259 boothowto |= RB_ASKNAME; in main() 272 if (boothowto & RB_ASKNAME) in main() 274 if (boothowto & RB_SINGLE) in main() 276 if (boothowto & RB_KDB) in main()
|
/netbsd/sys/arch/evbmips/malta/ |
H A D | machdep.c | 235 boothowto = RB_AUTOBOOT; in mach_init() 249 boothowto |= howto; in mach_init() 276 if (boothowto & RB_KDB) in mach_init() 331 if (boothowto & RB_HALT) in cpu_reboot() 334 boothowto = howto; in cpu_reboot() 354 pmf_system_shutdown(boothowto); in cpu_reboot() 366 yamon_exit(boothowto); in cpu_reboot()
|
/netbsd/sys/arch/amiga/stand/loadbsd/ |
H A D | loadbsd.c | 202 boothowto = RB_SINGLE; in main() 218 boothowto &= ~(RB_SINGLE); in main() 219 boothowto |= RB_AUTOBOOT; in main() 222 boothowto |= RB_ASKNAME; in main() 240 boothowto &= ~(RB_AUTOBOOT); in main() 241 boothowto |= RB_SINGLE; in main() 244 boothowto |= AB_QUIET; in main() 247 boothowto |= AB_VERBOSE; in main() 256 boothowto |= RB_KDB; in main() 351 if (boothowto & RB_AUTOBOOT) in main() [all …]
|
/netbsd/sys/arch/evbmips/sbmips/ |
H A D | machdep.c | 290 boothowto |= RB_ASKNAME; in mach_init() 293 boothowto |= RB_KDB; in mach_init() 296 boothowto |= RB_SINGLE; in mach_init() 330 if (boothowto & RB_KDB) { in mach_init() 368 if (boothowto & RB_HALT) in cpu_reboot() 371 boothowto = howto; in cpu_reboot() 391 pmf_system_shutdown(boothowto); in cpu_reboot()
|
/netbsd/sys/arch/sbmips/sbmips/ |
H A D | machdep.c | 275 boothowto |= RB_ASKNAME; in mach_init() 278 boothowto |= RB_KDB; in mach_init() 281 boothowto |= RB_SINGLE; in mach_init() 315 if (boothowto & RB_KDB) { in mach_init() 353 if (boothowto & RB_HALT) in cpu_reboot() 356 boothowto = howto; in cpu_reboot() 376 pmf_system_shutdown(boothowto); in cpu_reboot()
|
/netbsd/sys/arch/mipsco/mipsco/ |
H A D | machdep.c | 233 boothowto = RB_AUTOBOOT; in mach_init() 245 boothowto |= howto; in mach_init() 256 if (boothowto & RB_KDB) in mach_init() 261 if (boothowto & RB_KDB) in mach_init() 269 if (boothowto & RB_MINIROOT) in mach_init() 369 if ((boothowto & RB_HALT) != 0) in cpu_reboot() 372 boothowto = howto; in cpu_reboot() 403 pmf_system_shutdown(boothowto); in cpu_reboot()
|
/netbsd/sys/arch/hpcmips/hpcmips/ |
H A D | machdep.c | 347 boothowto = 0; in mach_init() 349 boothowto |= RB_KDB; in mach_init() 369 BOOT_FLAG(*cp, boothowto); in mach_init() 378 if (boothowto & RB_MINIROOT) { in mach_init() 397 if (boothowto & RB_KDB) { in mach_init() 511 if ((boothowto & RB_HALT) != 0) { in cpu_reboot() 524 boothowto = howto; in cpu_reboot() 550 pmf_system_shutdown(boothowto); in cpu_reboot()
|
/netbsd/sys/arch/cobalt/cobalt/ |
H A D | machdep.c | 232 boothowto = bi_howto->bi_howto; in mach_init() 314 if (boothowto & RB_KDB) in mach_init() 318 if (boothowto & RB_KDB) in mach_init() 348 if (boothowto & RB_HALT) in cpu_reboot() 351 boothowto = howto; in cpu_reboot() 371 pmf_system_shutdown(boothowto); in cpu_reboot() 407 BOOT_FLAG(work[i], boothowto); in decode_bootstring() 424 boothowto |= RB_SINGLE; in decode_bootstring()
|
/netbsd/sys/arch/shark/shark/ |
H A D | shark_machdep.c | 219 boothowto = 0; in initarm() 308 if (boothowto & RB_KDB) in initarm() 331 boothowto |= RB_QUIET; in process_kernel_args() 340 boothowto |= RB_QUIET; in process_kernel_args() 342 boothowto &= ~RB_QUIET; in process_kernel_args() 346 boothowto |= RB_QUIET; in process_kernel_args() 348 boothowto &= ~RB_QUIET; in process_kernel_args()
|
/netbsd/sys/arch/evbarm/imx23_olinuxino/ |
H A D | imx23_olinuxino_machdep.c | 213 boothowto |= howto; in cpu_reboot() 221 if (!cpu_reboot_called && !(boothowto & RB_NOSYNC)) { in cpu_reboot() 234 if ((boothowto & RB_DUMP) && !(boothowto & RB_HALT)) { in cpu_reboot() 241 pmf_system_shutdown(boothowto); in cpu_reboot() 243 printf("system %s.\n", boothowto & RB_HALT ? "halted" : "rebooted"); in cpu_reboot() 245 if (boothowto & RB_HALT) { in cpu_reboot()
|