Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   thorpej
Date:           Wed Jan  1 22:57:17 UTC 2020

Modified Files:
        src/sys/arch/arm/sunxi: sunxi_thermal.c
        src/sys/arch/sparc64/dev: sbus.c
        src/sys/compat/common: kern_xxx_12.c
        src/sys/ddb: db_command.c
        src/sys/dev/sysmon: swwdog.c sysmon_power.c
        src/sys/external/bsd/drm2/include/linux: reboot.h
        src/sys/kern: init_main.c kern_reboot.c kern_subr.c subr_prf.c
        src/sys/sys: kernel.h reboot.h

Log Message:
- Introduce a new global kernel variable "shutting_down" to indicate that
  the system is shutting down or rebooting.
- Set this global in a new function called kern_reboot(), which is currently
  just a basic wrapper around cpu_reboot().
- Call kern_reboot() instead of cpu_reboot() almost everywhere; a few
  places remain where it's still called directly, but those are in early
  pre-main() machdep locations.

Eventually, all of the various cpu_reboot() functions should be re-factored
and common functionality moved to kern_reboot(), but that's for another day.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/sunxi/sunxi_thermal.c
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/sparc64/dev/sbus.c
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/common/kern_xxx_12.c
cvs rdiff -u -r1.166 -r1.167 src/sys/ddb/db_command.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/sysmon/swwdog.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/include/linux/reboot.h
cvs rdiff -u -r1.515 -r1.516 src/sys/kern/init_main.c
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/kern_reboot.c
cvs rdiff -u -r1.227 -r1.228 src/sys/kern/kern_subr.c
cvs rdiff -u -r1.181 -r1.182 src/sys/kern/subr_prf.c
cvs rdiff -u -r1.30 -r1.31 src/sys/sys/kernel.h
cvs rdiff -u -r1.25 -r1.26 src/sys/sys/reboot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index