commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8018 - gnuradio/branches/developers/eb/gcell-wip/src/


From: eb
Subject: [Commit-gnuradio] r8018 - gnuradio/branches/developers/eb/gcell-wip/src/lib/spu
Date: Thu, 13 Mar 2008 17:06:34 -0600 (MDT)

Author: eb
Date: 2008-03-13 17:06:32 -0600 (Thu, 13 Mar 2008)
New Revision: 8018

Modified:
   gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c
Log:
removed gratuitous use of mfc_getllar

Modified: gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c
===================================================================
--- gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c     
2008-03-13 23:06:07 UTC (rev 8017)
+++ gnuradio/branches/developers/eb/gcell-wip/src/lib/spu/gc_main.c     
2008-03-13 23:06:32 UTC (rev 8018)
@@ -90,10 +90,12 @@
   char *buf = (char *) ALIGN(_tmp, 128);       // get cache-aligned buffer
   gc_comp_info_t *p = (gc_comp_info_t *) buf;
 
+  assert(sizeof(gc_comp_info_t) == 128);
+
   do {
-    // FIXME do this with regular DMA, then try LL in main loop
-    mfc_getllar(buf, spu_args.comp_info[idx], 0, 0);
-    spu_readch(MFC_RdAtomicStat);
+    mfc_get(buf, spu_args.comp_info[idx], 128, gc_sys_tag, 0, 0);
+    mfc_write_tag_mask(1 << gc_sys_tag);
+    mfc_read_tag_status_all();
     if (p->in_use == 0)
       return;
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]