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/tSystem.h b/azaleasource/WPILibCProgramming/trunk/WPILib/ChipObject/tSystem.h
new file mode 100644
index 0000000..ee0e7ac
--- /dev/null
+++ b/azaleasource/WPILibCProgramming/trunk/WPILib/ChipObject/tSystem.h
@@ -0,0 +1,47 @@
+// Base class for generated chip objects

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

+

+#ifndef __tSystem_h__

+#define __tSystem_h__

+

+#include "NiRio.h"

+#include <vxWorks.h>

+

+#define FRC_FPGA_PRELOAD_BITFILE

+

+typedef uint32_t NiFpga_Session;

+

+namespace nFPGA

+{

+

+class tSystem

+{

+public:

+   tSystem(tRioStatusCode *status);

+   ~tSystem();

+   void getFpgaGuid(uint32_t *guid_ptr, tRioStatusCode *status);

+

+protected:

+   static NiFpga_Session _DeviceHandle;

+

+#ifdef FRC_FPGA_PRELOAD_BITFILE

+   void NiFpga_SharedOpen_common(const char*     bitfile);

+   NiFpga_Status NiFpga_SharedOpen(const char*     bitfile,

+                            const char*     signature,

+                            const char*     resource,

+                            uint32_t        attribute,

+                            NiFpga_Session* session);

+   NiFpga_Status NiFpgaLv_SharedOpen(const char* const     bitfile,

+                            const char* const     apiSignature,

+                            const char* const     resource,

+                            const uint32_t        attribute,

+                            NiFpga_Session* const session);

+private:

+    static char *_FileName;

+    static char *_Bitfile;

+#endif

+};

+

+}

+

+#endif // __tSystem_h__