Search
lxdream.org :: lxdream/test/asic.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/asic.h
changeset 193:31151fcc3cb7
prev185:6755a04c447f
next753:1fe39c3a9bbc
author nkeynes
date Fri Dec 29 00:24:43 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Limit number of sectors read at once (linux driver seems to throw a hissy
fit if you request too many at a time)
file annotate diff log raw
1.1 --- a/test/asic.h Tue Jul 11 01:35:27 2006 +0000
1.2 +++ b/test/asic.h Fri Dec 29 00:24:43 2006 +0000
1.3 @@ -20,9 +20,14 @@
1.4 #define EVENT_PVR_DMA 19
1.5 #define EVENT_PVR_PUNCHOUT_DONE 21
1.6
1.7 +#define EVENT_TA_ERROR 31
1.8 #define EVENT_IDE 32
1.9 #define EVENT_AICA 33
1.10
1.11 +#define EVENT_PVR_PRIM_ALLOC_FAIL 66
1.12 +#define EVENT_PVR_MATRIX_ALLOC_FAIL 67
1.13 +#define EVENT_PVR_BAD_INPUT 68
1.14 +
1.15 /**
1.16 * Wait for an ASIC event.
1.17 * @return 0 if the event occurred, otherwise -1 if the wait timed out.
1.18 @@ -30,6 +35,12 @@
1.19 int asic_wait( int event );
1.20
1.21 /**
1.22 + * Check if an ASIC event is active (does not wait)
1.23 + * @return 0 if inactive, nonzero if active.
1.24 + */
1.25 +int asic_check( int event );
1.26 +
1.27 +/**
1.28 * Clear all asic events
1.29 */
1.30 void asic_clear();
.