Revision 47103572 target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
740 | 740 |
int exception_index; |
741 | 741 |
int error_code; |
742 | 742 |
int interrupt_request; |
743 |
uint32_t pending_interrupts; |
|
743 | 744 |
|
744 | 745 |
/* Those resources are used only during code translation */ |
745 | 746 |
/* Next instruction pointer */ |
... | ... | |
1267 | 1268 |
EXCP_TRAP = 0x40, |
1268 | 1269 |
}; |
1269 | 1270 |
|
1271 |
/* Hardware interruption sources: |
|
1272 |
* all those exception can be raised simulteaneously |
|
1273 |
*/ |
|
1274 |
enum { |
|
1275 |
PPC_INTERRUPT_RESET = 0, /* Reset / critical input */ |
|
1276 |
PPC_INTERRUPT_MCK = 1, /* Machine check exception */ |
|
1277 |
PPC_INTERRUPT_EXT = 2, /* External interrupt */ |
|
1278 |
PPC_INTERRUPT_DECR = 3, /* Decrementer exception */ |
|
1279 |
PPC_INTERRUPT_HDECR = 4, /* Hypervisor decrementer exception */ |
|
1280 |
PPC_INTERRUPT_PIT = 5, /* Programmable inteval timer interrupt */ |
|
1281 |
PPC_INTERRUPT_FIT = 6, /* Fixed interval timer interrupt */ |
|
1282 |
PPC_INTERRUPT_WDT = 7, /* Watchdog timer interrupt */ |
|
1283 |
PPC_INTERRUPT_DEBUG = 8, /* External debug exception */ |
|
1284 |
}; |
|
1285 |
|
|
1270 | 1286 |
/*****************************************************************************/ |
1271 | 1287 |
|
1272 | 1288 |
#endif /* !defined (__CPU_PPC_H__) */ |
Also available in: Unified diff