Statistics
| Branch: | Revision:

root / hw / openpic.h @ c3203fa5

History | View | Annotate | Download (562 Bytes)

1 b7169916 aurel32
#if !defined(__OPENPIC_H__)
2 b7169916 aurel32
#define __OPENPIC_H__
3 b7169916 aurel32
4 b7169916 aurel32
/* OpenPIC have 5 outputs per CPU connected and one IRQ out single output */
5 b7169916 aurel32
enum {
6 b7169916 aurel32
    OPENPIC_OUTPUT_INT = 0, /* IRQ                       */
7 b7169916 aurel32
    OPENPIC_OUTPUT_CINT,    /* critical IRQ              */
8 b7169916 aurel32
    OPENPIC_OUTPUT_MCK,     /* Machine check event       */
9 b7169916 aurel32
    OPENPIC_OUTPUT_DEBUG,   /* Inconditional debug event */
10 b7169916 aurel32
    OPENPIC_OUTPUT_RESET,   /* Core reset event          */
11 b7169916 aurel32
    OPENPIC_OUTPUT_NB,
12 b7169916 aurel32
};
13 b7169916 aurel32
14 d0b72631 Alexander Graf
#define OPENPIC_MODEL_RAVEN       0
15 d0b72631 Alexander Graf
#define OPENPIC_MODEL_FSL_MPIC_20 1
16 5861a338 Alexander Graf
17 b7169916 aurel32
#endif /* __OPENPIC_H__ */