[Cbe-oss-dev] [PATCH 1/2] libspe2: Add missing definition of invalid DMA

Kazunori Asayama asayama at sm.sony.co.jp
Tue Oct 2 18:01:52 EST 2007


This patch enables the definition of invalid DMA to make it possible
to handle the error.

Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>

---
 libspe2-types.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/libspe2-types.h
===================================================================
--- a/libspe2-types.h	2007-08-28 10:40:30.000000000 +0900
+++ b/libspe2-types.h	2007-08-28 10:40:42.000000000 +0900
@@ -211,7 +211,7 @@ enum ps_area { SPE_MSSYNC_AREA, SPE_MFC_
 /* #define SPE_SPE_ERROR                   0x0010 */
 #define SPE_DMA_SEGMENTATION            0x0020
 #define SPE_DMA_STORAGE                 0x0040
-/* #define SPE_INVALID_DMA                 0x0800 */
+#define SPE_INVALID_DMA                 0x0800
 
 /**
  * SIGSPE maps to SIGURG 



More information about the cbe-oss-dev mailing list