Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/sigbus_codes.in; do not edit. */
      2 #if !(defined(BUS_ADRALN) || (defined(HAVE_DECL_BUS_ADRALN) && HAVE_DECL_BUS_ADRALN))
      3 # define BUS_ADRALN 1
      4 #endif
      5 #if !(defined(BUS_ADRERR) || (defined(HAVE_DECL_BUS_ADRERR) && HAVE_DECL_BUS_ADRERR))
      6 # define BUS_ADRERR 2
      7 #endif
      8 #if !(defined(BUS_OBJERR) || (defined(HAVE_DECL_BUS_OBJERR) && HAVE_DECL_BUS_OBJERR))
      9 # define BUS_OBJERR 3
     10 #endif
     11 #if !(defined(BUS_MCEERR_AR) || (defined(HAVE_DECL_BUS_MCEERR_AR) && HAVE_DECL_BUS_MCEERR_AR))
     12 # define BUS_MCEERR_AR 4
     13 #endif
     14 #if !(defined(BUS_MCEERR_AO) || (defined(HAVE_DECL_BUS_MCEERR_AO) && HAVE_DECL_BUS_MCEERR_AO))
     15 # define BUS_MCEERR_AO 5
     16 #endif
     17 
     18 #ifdef IN_MPERS
     19 
     20 extern const struct xlat sigbus_codes[];
     21 
     22 #else
     23 
     24 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
     25 static
     26 # endif
     27 const struct xlat sigbus_codes[] = {
     28  XLAT(BUS_ADRALN),
     29  XLAT(BUS_ADRERR),
     30  XLAT(BUS_OBJERR),
     31  XLAT(BUS_MCEERR_AR),
     32  XLAT(BUS_MCEERR_AO),
     33  XLAT_END
     34 };
     35 
     36 #endif /* !IN_MPERS */
     37