]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/reboot.h
xnu-3247.1.106.tar.gz
[apple/xnu.git] / bsd / sys / reboot.h
index 18e3662e945faa249e928fa9d6fdbbb75d173101..5f51c9952983e92d547e58c02b3c452e62aed493 100644 (file)
@@ -84,8 +84,7 @@
 #define RB_SAFEBOOT    0x100   /* booting safe */
 #define RB_UPSDELAY 0x200   /* Delays restart by 5 minutes */
 #define RB_QUICK       0x400   /* quick and ungraceful reboot with file system caches flushed*/
-#define RB_PANIC       0       /* reboot due to panic */
-#define RB_BOOT                1       /* reboot due to boot() */
+#define RB_PANIC       0x800   /* panic the kernel */
 
 #endif /* __APPLE_API_PRIVATE */
 
 #include <machine/reboot.h>
 
 __BEGIN_DECLS
-int    boot(int, int, char *);
+int    reboot_kernel(int, char *);
 __END_DECLS
 
 #define PROC_SHUTDOWN_LOG "/var/log/kernel-shutdown.log"