OpenGrok
Cross Reference: kern_reboot.c
xref
: /
src
/
sys
/
kern
/
kern_reboot.c
Home
|
History
|
Annotate
|
Download
|
only in
kern
History log of
/src/sys/kern/kern_reboot.c
Revision
Date
Author
Comments
1.5
05-Mar-2024
thorpej
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().
It's a small step, but it's a step.
1.4
23-Feb-2020
ad
Mistake in previous - lwp_t *l was not meant to be static.
1.3
23-Feb-2020
ad
- If concurrent calls to kern_reboot(), only let the first do the deed.
- Don't need kernel_lock for this (either OK, or suspendsched() called).
1.2
01-Jan-2020
thorpej
branches: 1.2.2;
- 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.
1.1
14-Sep-2018
mrg
branches: 1.1.2; 1.1.6;
retire kern_xxx.c. long live kern_xxx.c.
split it into kern_reboot.c and kern_scdebug.c. while here,
add my copyright to kern_scdebug.c as it was largely rewritten
for kernhist support.
1.1.6.3
08-Apr-2020
martin
Merge changes from current as of 20200406
1.1.6.2
10-Jun-2019
christos
Sync with HEAD
1.1.6.1
14-Sep-2018
christos
file kern_reboot.c was added on branch phil-wifi on 2019-06-10 22:09:03 +0000
1.1.2.2
30-Sep-2018
pgoyette
Ssync with HEAD
1.1.2.1
14-Sep-2018
pgoyette
file kern_reboot.c was added on branch pgoyette-compat on 2018-09-30 01:45:55 +0000
1.2.2.1
29-Feb-2020
ad
Sync with head.
Indexes created Sun Sep 28 12:09:53 GMT 2025