4 #define EVENT_PVR_RENDER_DONE 2
5 #define EVENT_SCANLINE1 3
6 #define EVENT_SCANLINE2 4
7 #define EVENT_RETRACE 5
8 #define EVENT_PVR_UNK 6
9 #define EVENT_PVR_OPAQUE_DONE 7
10 #define EVENT_PVR_OPAQUEMOD_DONE 8
11 #define EVENT_PVR_TRANS_DONE 9
12 #define EVENT_PVR_TRANSMOD_DONE 10
13 #define EVENT_MAPLE_DMA 12
14 #define EVENT_MAPLE_ERR 13 /* ??? */
15 #define EVENT_IDE_DMA 14
16 #define EVENT_SPU_DMA0 15
17 #define EVENT_SPU_DMA1 16
18 #define EVENT_SPU_DMA2 17
19 #define EVENT_SPU_DMA3 18
20 #define EVENT_PVR_DMA 19
21 #define EVENT_PVR_PUNCHOUT_DONE 21
23 #define EVENT_TA_ERROR 31
27 #define EVENT_PVR_PRIM_ALLOC_FAIL 66
28 #define EVENT_PVR_MATRIX_ALLOC_FAIL 67
29 #define EVENT_PVR_BAD_INPUT 68
32 * Wait for an ASIC event.
33 * @return 0 if the event occurred, otherwise -1 if the wait timed out.
35 int asic_wait( int event );
38 * Check if an ASIC event is active (does not wait)
39 * @return 0 if inactive, nonzero if active.
41 int asic_check( int event );
44 * Clear all asic events
49 * Print the contents of the ASIC event registers to the supplied FILE
51 void asic_dump( FILE *f );
.