MOS Source Code
|
#include <stdnoreturn.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | power_callback_t) (void *data) |
Functions | |
void | power_register_shutdown_callback (power_callback_t callback, void *data) |
Register a callback to be called when the system is about to shut down. | |
void | power_shutdown (void) |
Shutdown the system. | |
void power_register_shutdown_callback | ( | power_callback_t | callback, |
void * | data ) |
Shutdown the system.
Definition at line 33 of file power.c.
Referenced by MOS_STATIC_ASSERT(), and try_handle_kernel_panics_at().