aurel32 | b716991 | 2009-03-02 16:42:04 +0000 | [diff] [blame] | 1 | #if !defined(__OPENPIC_H__) |
| 2 | #define __OPENPIC_H__ |
| 3 | |
| 4 | /* OpenPIC have 5 outputs per CPU connected and one IRQ out single output */ |
| 5 | enum { |
| 6 | OPENPIC_OUTPUT_INT = 0, /* IRQ */ |
| 7 | OPENPIC_OUTPUT_CINT, /* critical IRQ */ |
| 8 | OPENPIC_OUTPUT_MCK, /* Machine check event */ |
| 9 | OPENPIC_OUTPUT_DEBUG, /* Inconditional debug event */ |
| 10 | OPENPIC_OUTPUT_RESET, /* Core reset event */ |
| 11 | OPENPIC_OUTPUT_NB, |
| 12 | }; |
| 13 | |
Alexander Graf | d0b7263 | 2012-12-08 05:17:14 +0100 | [diff] [blame] | 14 | #define OPENPIC_MODEL_RAVEN 0 |
| 15 | #define OPENPIC_MODEL_FSL_MPIC_20 1 |
Alexander Graf | 5861a33 | 2012-12-07 23:51:09 +0100 | [diff] [blame] | 16 | |
aurel32 | b716991 | 2009-03-02 16:42:04 +0000 | [diff] [blame] | 17 | #endif /* __OPENPIC_H__ */ |