1.1 --- a/test/asic.h Fri Aug 04 01:38:30 2006 +0000
1.2 +++ b/test/asic.h Wed Jul 30 03:00:40 2008 +0000
1.4 #define EVENT_SPU_DMA2 17
1.5 #define EVENT_SPU_DMA3 18
1.6 #define EVENT_PVR_DMA 19
1.7 +#define EVENT_SORT_DMA 20
1.8 #define EVENT_PVR_PUNCHOUT_DONE 21
1.10 #define EVENT_TA_ERROR 31
1.12 #define EVENT_PVR_MATRIX_ALLOC_FAIL 67
1.13 #define EVENT_PVR_BAD_INPUT 68
1.15 +#define EVENT_SORT_DMA_ERR 92
1.18 * Wait for an ASIC event.
1.19 * @return 0 if the event occurred, otherwise -1 if the wait timed out.
1.21 int asic_wait( int event );
1.24 + * Wait for either of a pair of events.
1.25 + * @return the event ID of the event that occured, or -1 if the wait timed out
1.27 +int asic_wait2( int event1, int event2 );
1.30 * Check if an ASIC event is active (does not wait)
1.31 * @return 0 if inactive, nonzero if active.