This is the latest WPILib src, VisionSample2013, cRIO image, ... pulled down from firstforge.wpi.edu.

There might be risks in using the top of tree rather than an official release, but the commit messages do mention fixes for some deadlocks and race conditions.

git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4066 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/azaleasource/WPILibCProgramming/trunk/WPILib/ChipObject/tDMAManager.h b/azaleasource/WPILibCProgramming/trunk/WPILib/ChipObject/tDMAManager.h
new file mode 100644
index 0000000..41f2950
--- /dev/null
+++ b/azaleasource/WPILibCProgramming/trunk/WPILib/ChipObject/tDMAManager.h
@@ -0,0 +1,47 @@
+// Class for handling DMA transters.

+// Copyright (c) National Instruments 2008.  All Rights Reserved.

+

+#ifndef __tDMAManager_h__

+#define __tDMAManager_h__

+

+#include "NiRio.h"

+#include "tSystem.h"

+

+namespace nFPGA

+{

+// TODO: Implement DMA Manager

+/*

+class tDMAManager : public tSystem

+{

+public:

+   tDMAManager(tNIRIO_u32 dmaChannel, tNIRIO_u32 hostBufferSize, tRioStatusCode *status);

+   ~tDMAManager();

+   void start(tRioStatusCode *status);

+   void stop(tRioStatusCode *status);

+   bool isStarted() {return _started;}

+   void read(

+      tNIRIO_u32*      buf,

+      tNIRIO_u32       num,

+      tNIRIO_u32       timeout,

+      tNIRIO_u32*      read,

+      tNIRIO_u32*      remaining,

+      tRioStatusCode *status);

+   void write(

+      tNIRIO_u32*      buf,

+      tNIRIO_u32       num,

+      tNIRIO_u32       timeout,

+      tNIRIO_u32*      remaining,

+      tRioStatusCode *status);

+private:

+   bool _started;

+   tNIRIO_u32 _dmaChannel;

+   tNIRIO_u32 _hostBufferSize;

+   tDMAChannelDescriptor const *_dmaChannelDescriptor;

+

+};

+*/

+}

+

+

+#endif // __tDMAManager_h__

+