#
1.11 |
|
13-Mar-2022 |
mpi |
Constify struct cfattach.
ok miod@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.10 |
|
12-Oct-2019 |
cheloha |
hppa: gsckbc(4), power(4): tsleep(9) -> tsleep_nsec(9); ok kn@ visa@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.9 |
|
13-Jul-2014 |
miod |
One missing boot -> prsignal(initprocess) conversion
|
#
1.8 |
|
12-Jul-2014 |
uebayasi |
reboot(9): Shutdown system by signaling init(8) from kernel where appropriate
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''.
Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous.
OK deraadt@ miod@
|
#
1.7 |
|
12-Jul-2014 |
uebayasi |
boot(9), reboot(9): Migrate MD callers of boot(9) to reboot(9)
I have found that some ports call boot(9) from machine-dependent code to reboot system. These should be changed to either:
- Sending signal to init(8) to trigger it to shutdown system cleanly, like acpi(4) does, in cases where found problems don't prevent system from working immediately, or
- Just doing panic(9) if the situation is severely broken.
For now, just rewrite boot() to reboot(). Actual fixes follow.
Discussed with & OK from kettenis@
|
#
1.6 |
|
29-Mar-2014 |
guenther |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE SMP_SYNC_A
|
#
1.5 |
|
11-Jun-2004 |
mickey |
better name for power thread (for power users only)
|
Revision tags: OPENBSD_3_5_BASE SMP_SYNC_B
|
#
1.4 |
|
20-Dec-2003 |
miod |
branches: 1.4.2; Pass -Wformat, fix a few uninitialized variables as well.
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.3 |
|
20-Aug-2003 |
mickey |
devise the power reg address as hpa for the power device and thus avoid manual offset printing. add some code for interrupt-driven power-fail
|
#
1.2 |
|
20-Aug-2003 |
mickey |
support systems where power service is available from pdc and implement a cold hook as well thus do not powerleash lasi should we have cold_hook already set
|
#
1.1 |
|
20-Aug-2003 |
mickey |
handle power button (on 712 for now)
|
#
1.10 |
|
12-Oct-2019 |
cheloha |
hppa: gsckbc(4), power(4): tsleep(9) -> tsleep_nsec(9); ok kn@ visa@
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.9 |
|
13-Jul-2014 |
miod |
One missing boot -> prsignal(initprocess) conversion
|
#
1.8 |
|
12-Jul-2014 |
uebayasi |
reboot(9): Shutdown system by signaling init(8) from kernel where appropriate
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''.
Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous.
OK deraadt@ miod@
|
#
1.7 |
|
12-Jul-2014 |
uebayasi |
boot(9), reboot(9): Migrate MD callers of boot(9) to reboot(9)
I have found that some ports call boot(9) from machine-dependent code to reboot system. These should be changed to either:
- Sending signal to init(8) to trigger it to shutdown system cleanly, like acpi(4) does, in cases where found problems don't prevent system from working immediately, or
- Just doing panic(9) if the situation is severely broken.
For now, just rewrite boot() to reboot(). Actual fixes follow.
Discussed with & OK from kettenis@
|
#
1.6 |
|
29-Mar-2014 |
guenther |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE SMP_SYNC_A
|
#
1.5 |
|
11-Jun-2004 |
mickey |
better name for power thread (for power users only)
|
Revision tags: OPENBSD_3_5_BASE SMP_SYNC_B
|
#
1.4 |
|
20-Dec-2003 |
miod |
branches: 1.4.2; Pass -Wformat, fix a few uninitialized variables as well.
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.3 |
|
20-Aug-2003 |
mickey |
devise the power reg address as hpa for the power device and thus avoid manual offset printing. add some code for interrupt-driven power-fail
|
#
1.2 |
|
20-Aug-2003 |
mickey |
support systems where power service is available from pdc and implement a cold hook as well thus do not powerleash lasi should we have cold_hook already set
|
#
1.1 |
|
20-Aug-2003 |
mickey |
handle power button (on 712 for now)
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.9 |
|
13-Jul-2014 |
miod |
One missing boot -> prsignal(initprocess) conversion
|
#
1.8 |
|
12-Jul-2014 |
uebayasi |
reboot(9): Shutdown system by signaling init(8) from kernel where appropriate
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''.
Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous.
OK deraadt@ miod@
|
#
1.7 |
|
12-Jul-2014 |
uebayasi |
boot(9), reboot(9): Migrate MD callers of boot(9) to reboot(9)
I have found that some ports call boot(9) from machine-dependent code to reboot system. These should be changed to either:
- Sending signal to init(8) to trigger it to shutdown system cleanly, like acpi(4) does, in cases where found problems don't prevent system from working immediately, or
- Just doing panic(9) if the situation is severely broken.
For now, just rewrite boot() to reboot(). Actual fixes follow.
Discussed with & OK from kettenis@
|
#
1.6 |
|
29-Mar-2014 |
guenther |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE SMP_SYNC_A
|
#
1.5 |
|
11-Jun-2004 |
mickey |
better name for power thread (for power users only)
|
Revision tags: OPENBSD_3_5_BASE SMP_SYNC_B
|
#
1.4 |
|
20-Dec-2003 |
miod |
branches: 1.4.2; Pass -Wformat, fix a few uninitialized variables as well.
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.3 |
|
20-Aug-2003 |
mickey |
devise the power reg address as hpa for the power device and thus avoid manual offset printing. add some code for interrupt-driven power-fail
|
#
1.2 |
|
20-Aug-2003 |
mickey |
support systems where power service is available from pdc and implement a cold hook as well thus do not powerleash lasi should we have cold_hook already set
|
#
1.1 |
|
20-Aug-2003 |
mickey |
handle power button (on 712 for now)
|