summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 1. multithreading:Vasilii Chernov2016-03-0116-410/+665
| | | | | | | | | - Enable multiprocessing for api_server - Enable mutrithreading for html_server 2. py: - extract pcilib->py bases from pcilib->py functions - add api for interact directly with pcilib->py without pcilib context. 3. pcipywrap - Add scripts handling.
* Merge with ufo.kit.edu/csa/pcitool 357 revisionVasilii Chernov2016-02-2611-308/+312
|\
| * Merge of further work on Python scripting from Vasiliy ChernovSuren A. Chilingaryan2016-02-2668-130/+13156
| |\
* | | 1. pywrap:Vasilii Chernov2016-02-2616-273/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix get_registers_list crash with bank != NULL - set correct python version in cmake install step 2. html_server: - merge set and get value boxes into one box - add registers bank view mode - read registers/properties values in bank/branch view mode 3. xml/test - remove cmosis registers - add multithread safe property example
* | | Move html_server to separate folder. Update html server templates.Vasilii Chernov2016-02-2562-565/+476
| |/ |/|
* | Set value description content to NULL in pcilib_xml_parse_value_nameVasilii Chernov2016-02-253-12/+19
| |
* | Merge with Suren branch. Fix memory leaks.Vasilii Chernov2016-02-2457-1003/+1241
|\|
| * Add more GILs to prevent Python crashes in multithreaded applicationsSuren A. Chilingaryan2016-02-231-6/+22
| |
| * Add run script to run python scripts and binary executables in the local ↵Suren A. Chilingaryan2016-02-232-0/+9
| | | | | | | | environment
| * Stabilize merged codeSuren A. Chilingaryan2016-02-235-18/+25
| |
| * Merge Python scripting support from Vasiliy ChernovSuren A. Chilingaryan2016-02-2333-64/+1889
| |\
| * | Do not complain if no changes since last revisionSuren A. Chilingaryan2016-02-041-4/+3
| | |
| * | Fix build systemSuren A. Chilingaryan2016-02-042-10/+11
| | |
| * | Report information about driver revision and buildSuren A. Chilingaryan2016-02-044-2/+23
| | |
| * | Improve gcc detection for module compilationSuren A. Chilingaryan2016-02-041-2/+2
| | |
| * | Add build informationSuren A. Chilingaryan2016-02-0410-16/+219
| | |
| * | Keep printf's happySuren A. Chilingaryan2016-02-031-3/+3
| | |
* | | Refresh web interfaceVasilii Chernov2016-02-24175-0/+9832
| | |
* | | 1. Http server add tree viewVasilii Chernov2016-02-24183-82/+2822
| | | | | | | | | | | | | | | | | | | | | 2. Pcipywrap - add lock function wraps - add dma read wrap 3. Api server implement locking functionality
* | | Add device html serverVasilii Chernov2016-02-227-1/+346
| | |
* | | Add istall step for pcipywrapVasilii Chernov2016-02-192-1/+10
| | |
* | | 1. Fix warnings in test_multithread appVasilii Chernov2016-02-195-40/+145
| |/ |/| | | | | | | 2. Fix memory leak in transform view 3. Enchance test_pcipywrap with command line parsing
* | Add test to repository. Add GIL states to pcilib_set_value_from_pyobjectVasilii Chernov2016-02-175-0/+221
| |
* | Refactor pcipywrap to objectVasilii Chernov2016-02-178-285/+301
| |
* | 1. Add cmake BUILD_PYTHON_MODULES option.Vasilii Chernov2016-02-1712-156/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Rename log options getting functions. 3. py: - pcilib_init_py() - extract pcilib_py_add_script_dir() - pcilib_py_init_script() - extract view-specialized code to pcilib_py_get_transform_script_properties() 3. pcilib_open(): - move pcilib_init_py() to previous position. - add extract pcilib_py_add_script_dir() 4. pcilib_script_s - change hash key. Now it is (const char*) and contains script file name with extension 5. pcipywrap: - Add pcipywrap.h to remove swig generated file complile warnings - remove -includeall swig flag to prevent crash in multi-thread scripts - change set python expetion mechanic
* | 1. Add python thread initialization to pcilib_init_py()Vasilii Chernov2016-02-1610-136/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Fix pcilib_script_run_func() work in multithread mode 2. pcilib_close() - Move free_py() code after free views to make view destructors work properly 3. Move script hash to pcilib_py_s 4. Move pcilib_get_logger() pcilib_get_logger_min_prio() and pcilib_get_logger_argument() declarations to error.h 5. Refactor pcilib_get_value_as_pyobject pcilib_set_value_from_pyobject to more unified form 6. Add more memory checks. Fix some string memory allocations. 7. Refactor pcilib_py_s member names. 8. Merge pcilib_script_read() and pcilib_script_write() to pcilib_script_run_func() 9. Update test_pywrap views scripts
* | Add options parsing to server\n Rename get_property_info for get_property_listVasilii Chernov2016-02-153-45/+52
| |
* | Fix memory leaksVasilii Chernov2016-02-154-61/+104
| | | | | | | | | | Add GIL states for int pcilib_script_read and pcilib_script_write functions Correct desctructor for create_pcilib_instance return object
* | Add destructor for returning PyCObject in create_pcilib_instance functionVasilii Chernov2016-02-121-2/+11
| |
* | Move python module init code to transfom view constructorVasilii Chernov2016-02-1210-50/+124
| | | | | | | | | | Update python logger and python exeption messages Change serialization method in create_pcilib_instance set_pcilib functions
* | 1. Cmakelists - move copy xml folder command to root fileVasilii Chernov2016-02-1214-269/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. - Move set python paths code to python module init funtction - pci.c move python module init block code after checking model to get paths before it runs. - Fix set python path code to work with PYTHONPATH - Update pci run script to work with PYTHONPATH - Fix python finalize code 3. Change pcilib_script_s interacting method. Now it stores in hash. 4. Change names of some fucntions to more unified ones 5. Remove old unused function pcilib_xml_create_script_or_transform_view 6. cli - disable reading register after set if write_verification flag is off 7. Remove uninformative error messages fro Python wrap. 8. - Server.py - add read/write property/register command handling - Add help message - Correcting paths
* | Change no_set_check parameter name. Move Python wrap to separate directory.Vasilii Chernov2016-02-1112-32/+231
| |
* | Solve errors in serialing register_info function. Clear unused codeVasilii Chernov2016-02-114-64/+34
| |
* | Change error logging method in Python wrap. Move functions, that converts ↵Vasilii Chernov2016-02-118-139/+187
| | | | | | | | values between PyObject and pcilib_value_t to py.c
* | Merge script and transform view. Add get register and properties info to ↵Vasilii Chernov2016-02-1111-288/+579
| | | | | | | | python wrap.
* | Add write_register python wrap. Add no_set_check attribute to pcilib_view_t typeVasilii Chernov2016-02-0911-27/+95
| |
* | Add pcipywrap.h to repositoryVasilii Chernov2016-02-081-0/+25
| |
* | Add support for setting register value to script transfrom. Add set_property ↵Vasilii Chernov2016-02-0810-108/+298
| | | | | | | | and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies
* | Add support for python script properties. Correct pcilib python wrapping. ↵Vasilii Chernov2016-02-0521-182/+411
| | | | | | | | Update examples. Update cmakelists for work in shadow build mode.
* | Add python wrap for pcilibVasilii Chernov2016-02-0325-1/+278
|/
* Fix reading non DMA-able kernel pages using pcitoolSuren A. Chilingaryan2015-11-203-11/+25
|
* 64-bit access to BAR memorySuren A. Chilingaryan2015-11-208-27/+45
|
* Support static DMA regions in IPEDMASuren A. Chilingaryan2015-11-202-7/+24
|
* Configure number of DMA buffers in IPEDMA and improve checking and reporting ↵Suren A. Chilingaryan2015-11-206-112/+193
| | | | inconsistent kmem buffers while re-using
* Support large DMA pages in IPEDMASuren A. Chilingaryan2015-11-204-25/+39
|
* Fix AVX memory copySuren A. Chilingaryan2015-11-202-40/+40
|
* Inform user-space about read request size as wellSuren A. Chilingaryan2015-11-192-1/+4
|
* pcitool help formatingSuren A. Chilingaryan2015-11-191-13/+13
|
* Support setting payload sizeSuren A. Chilingaryan2015-11-198-8/+88
|
* Driver versioningSuren A. Chilingaryan2015-11-195-21/+234
|