opnsense-src/sys/dev/xen
Mitchell Horne c13f564f91 xen: improve shutdown hook
Make better use of the shutdown flags. In particular this now handles
standard reboot where RB_POWERCYCLE is not set, and indicates a crash
when the system has panicked.

While here, give the function a prefix.

Reviewed by:	royger, markj
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D42343

(cherry picked from commit 9e0b0f5de67fd46bddf0e12ef7b71d76a7ec1667)
2023-12-08 18:02:44 -04:00
..
balloon sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
blkback sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
blkfront sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bus sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
console sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
control xen: improve shutdown hook 2023-12-08 18:02:44 -04:00
cpu sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
debug sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
efi sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
evtchn sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gntdev sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
grant_table sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netback sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netfront netfront: fix the support for disabling LRO at boot time 2023-11-12 10:37:16 +00:00
privcmd sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
timer sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
xenpci sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
xenstore sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00