Search
lxdream.org :: lxdream/test/asic.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/asic.h
changeset 753:1fe39c3a9bbc
prev193:31151fcc3cb7
next812:8cc61d5ea1f8
author nkeynes
date Sun Jul 20 11:36:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Initial implementation for sort-dma channel
file annotate diff log raw
1.1 --- a/test/asic.h Fri Aug 04 01:38:30 2006 +0000
1.2 +++ b/test/asic.h Sun Jul 20 11:36:48 2008 +0000
1.3 @@ -18,6 +18,7 @@
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.9
1.10 #define EVENT_TA_ERROR 31
1.11 @@ -28,6 +29,8 @@
1.12 #define EVENT_PVR_MATRIX_ALLOC_FAIL 67
1.13 #define EVENT_PVR_BAD_INPUT 68
1.14
1.15 +#define EVENT_SORT_DMA_ERR 92
1.16 +
1.17 /**
1.18 * Wait for an ASIC event.
1.19 * @return 0 if the event occurred, otherwise -1 if the wait timed out.
1.20 @@ -35,6 +38,12 @@
1.21 int asic_wait( int event );
1.22
1.23 /**
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.26 + */
1.27 +int asic_wait2( int event1, int event2 );
1.28 +
1.29 +/**
1.30 * Check if an ASIC event is active (does not wait)
1.31 * @return 0 if inactive, nonzero if active.
1.32 */
.