--- a/test/asic.h Fri Aug 04 01:38:30 2006 +0000 +++ b/test/asic.h Sun Jul 20 11:36:48 2008 +0000 @@ -18,6 +18,7 @@ #define EVENT_SPU_DMA2 17 #define EVENT_SPU_DMA3 18 #define EVENT_PVR_DMA 19 +#define EVENT_SORT_DMA 20 #define EVENT_PVR_PUNCHOUT_DONE 21 #define EVENT_TA_ERROR 31 @@ -28,6 +29,8 @@ #define EVENT_PVR_MATRIX_ALLOC_FAIL 67 #define EVENT_PVR_BAD_INPUT 68 +#define EVENT_SORT_DMA_ERR 92 + /** * Wait for an ASIC event. * @return 0 if the event occurred, otherwise -1 if the wait timed out. @@ -35,6 +38,12 @@ int asic_wait( int event ); /** + * Wait for either of a pair of events. + * @return the event ID of the event that occured, or -1 if the wait timed out + */ +int asic_wait2( int event1, int event2 ); + +/** * Check if an ASIC event is active (does not wait) * @return 0 if inactive, nonzero if active. */