| /* Generated by ./xlat/gen.sh from ./xlat/sigbus_codes.in; do not edit. */ |
| #if !(defined(BUS_ADRALN) || (defined(HAVE_DECL_BUS_ADRALN) && HAVE_DECL_BUS_ADRALN)) |
| # define BUS_ADRALN 1 |
| #endif |
| #if !(defined(BUS_ADRERR) || (defined(HAVE_DECL_BUS_ADRERR) && HAVE_DECL_BUS_ADRERR)) |
| # define BUS_ADRERR 2 |
| #endif |
| #if !(defined(BUS_OBJERR) || (defined(HAVE_DECL_BUS_OBJERR) && HAVE_DECL_BUS_OBJERR)) |
| # define BUS_OBJERR 3 |
| #endif |
| #if !(defined(BUS_MCEERR_AR) || (defined(HAVE_DECL_BUS_MCEERR_AR) && HAVE_DECL_BUS_MCEERR_AR)) |
| # define BUS_MCEERR_AR 4 |
| #endif |
| #if !(defined(BUS_MCEERR_AO) || (defined(HAVE_DECL_BUS_MCEERR_AO) && HAVE_DECL_BUS_MCEERR_AO)) |
| # define BUS_MCEERR_AO 5 |
| #endif |
| |
| #ifdef IN_MPERS |
| |
| extern const struct xlat sigbus_codes[]; |
| |
| #else |
| |
| # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) |
| static |
| # endif |
| const struct xlat sigbus_codes[] = { |
| XLAT(BUS_ADRALN), |
| XLAT(BUS_ADRERR), |
| XLAT(BUS_OBJERR), |
| XLAT(BUS_MCEERR_AR), |
| XLAT(BUS_MCEERR_AO), |
| XLAT_END |
| }; |
| |
| #endif /* !IN_MPERS */ |