diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-24 14:57:16 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-24 14:57:16 +0100 |
commit | 5085fbed88cec0bdc1b339daf9cd888e184cc32c (patch) | |
tree | 320738e7c28777620ec51992ee139c9cc246893e /pywrap/pcipywrap.i | |
parent | 2c2a714e0615d6aff3773fabfd3b93e8672a40a1 (diff) | |
download | pcitool-5085fbed88cec0bdc1b339daf9cd888e184cc32c.tar.gz pcitool-5085fbed88cec0bdc1b339daf9cd888e184cc32c.tar.bz2 pcitool-5085fbed88cec0bdc1b339daf9cd888e184cc32c.tar.xz pcitool-5085fbed88cec0bdc1b339daf9cd888e184cc32c.zip |
1. Http server add tree view
2. Pcipywrap
- add lock function wraps
- add dma read wrap
3. Api server implement locking functionality
Diffstat (limited to 'pywrap/pcipywrap.i')
-rw-r--r-- | pywrap/pcipywrap.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pywrap/pcipywrap.i b/pywrap/pcipywrap.i index ac8e9ca..f08ceb7 100644 --- a/pywrap/pcipywrap.i +++ b/pywrap/pcipywrap.i @@ -21,5 +21,13 @@ typedef struct { PyObject* get_registers_list(const char *bank = NULL); PyObject* get_register_info(const char* reg,const char *bank = NULL); PyObject* get_property_list(const char* branch = NULL); + PyObject* read_dma(unsigned char dma, size_t size); + + PyObject* lock_global(); + void unlock_global(); + + PyObject* lock(const char *lock_id); + PyObject* try_lock(const char *lock_id); + PyObject* unlock(const char *lock_id); } } Pcipywrap; |