Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/bootflags3.in; do not edit. */
      2 #if !(defined(LINUX_REBOOT_CMD_RESTART) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_RESTART) && HAVE_DECL_LINUX_REBOOT_CMD_RESTART))
      3 # define LINUX_REBOOT_CMD_RESTART 0x01234567
      4 #endif
      5 #if !(defined(LINUX_REBOOT_CMD_HALT) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_HALT) && HAVE_DECL_LINUX_REBOOT_CMD_HALT))
      6 # define LINUX_REBOOT_CMD_HALT 0xCDEF0123
      7 #endif
      8 #if !(defined(LINUX_REBOOT_CMD_CAD_ON) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_CAD_ON) && HAVE_DECL_LINUX_REBOOT_CMD_CAD_ON))
      9 # define LINUX_REBOOT_CMD_CAD_ON 0x89ABCDEF
     10 #endif
     11 #if !(defined(LINUX_REBOOT_CMD_CAD_OFF) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_CAD_OFF) && HAVE_DECL_LINUX_REBOOT_CMD_CAD_OFF))
     12 # define LINUX_REBOOT_CMD_CAD_OFF 0x00000000
     13 #endif
     14 #if !(defined(LINUX_REBOOT_CMD_POWER_OFF) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_POWER_OFF) && HAVE_DECL_LINUX_REBOOT_CMD_POWER_OFF))
     15 # define LINUX_REBOOT_CMD_POWER_OFF 0x4321FEDC
     16 #endif
     17 #if !(defined(LINUX_REBOOT_CMD_RESTART2) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_RESTART2) && HAVE_DECL_LINUX_REBOOT_CMD_RESTART2))
     18 # define LINUX_REBOOT_CMD_RESTART2 0xA1B2C3D4
     19 #endif
     20 #if !(defined(LINUX_REBOOT_CMD_SW_SUSPEND) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_SW_SUSPEND) && HAVE_DECL_LINUX_REBOOT_CMD_SW_SUSPEND))
     21 # define LINUX_REBOOT_CMD_SW_SUSPEND 0xD000FCE2
     22 #endif
     23 #if !(defined(LINUX_REBOOT_CMD_KEXEC) || (defined(HAVE_DECL_LINUX_REBOOT_CMD_KEXEC) && HAVE_DECL_LINUX_REBOOT_CMD_KEXEC))
     24 # define LINUX_REBOOT_CMD_KEXEC 0x45584543
     25 #endif
     26 
     27 #ifdef IN_MPERS
     28 
     29 # error static const struct xlat bootflags3 in mpers mode
     30 
     31 #else
     32 
     33 static
     34 const struct xlat bootflags3[] = {
     35  XLAT(LINUX_REBOOT_CMD_RESTART),
     36  XLAT(LINUX_REBOOT_CMD_HALT),
     37  XLAT(LINUX_REBOOT_CMD_CAD_ON),
     38  XLAT(LINUX_REBOOT_CMD_CAD_OFF),
     39  XLAT(LINUX_REBOOT_CMD_POWER_OFF),
     40  XLAT(LINUX_REBOOT_CMD_RESTART2),
     41  XLAT(LINUX_REBOOT_CMD_SW_SUSPEND),
     42  XLAT(LINUX_REBOOT_CMD_KEXEC),
     43  XLAT_END
     44 };
     45 
     46 #endif /* !IN_MPERS */
     47