diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-17 13:40:56 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-17 13:40:56 +0300 |
| commit | 1ceed7525272b82c1028ebd353e65c3a63bd2714 (patch) | |
| tree | 828105db350e36df681bf79740434b47e6748e36 /include/apos/power.h | |
| parent | 2a256aa4f1abb65afa6f3856998bfe00ac960d61 (diff) | |
| download | kmi-1ceed7525272b82c1028ebd353e65c3a63bd2714.tar.gz kmi-1ceed7525272b82c1028ebd353e65c3a63bd2714.zip | |
expand sbi implementation a bit
Diffstat (limited to 'include/apos/power.h')
| -rw-r--r-- | include/apos/power.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/apos/power.h b/include/apos/power.h new file mode 100644 index 0000000..e0ca518 --- /dev/null +++ b/include/apos/power.h @@ -0,0 +1,10 @@ +#ifndef APOS_POWER_H +#define APOS_POWER_H + +#include <apos/types.h> +#include <apos/attrs.h> + +enum poweroff_type {SHUTDOWN, COLD_REBOOT, WARM_REBOOT}; +stat_t poweroff(enum poweroff_type type); + +#endif |
