more uapi bits

This commit is contained in:
2026-10-18 14:47:02 +02:00
parent 27b2905dd7
commit 0ed321f622
7 changed files with 421 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/* SPDX-License-Identifier: Unlicense */
#ifndef __ZINNIA_UAPI_REBOOT_H
#define __ZINNIA_UAPI_REBOOT_H
#define __REBOOT_MAGIC 0xDEADBEEF
#define __RB_AUTOBOOT 0xdeadb007
#define __RB_HALT_SYSTEM 0xdeaddead
#define __RB_ENABLE_CAD 0xdeadcad1
#define __RB_DISABLE_CAD 0xdeadcad0
#define __RB_POWER_OFF 0xdead00ff
#define __RB_SW_SUSPEND 0xdead2222
#define __RB_KEXEC 0xdeadecec
#endif