summaryrefslogtreecommitdiffstats
path: root/pcilib
Commit message (Collapse)AuthorAgeFilesLines
* Merge with ufo.kit.edu/csa/pcitool 357 revisionVasilii Chernov2016-02-263-192/+193
|\
| * Merge of further work on Python scripting from Vasiliy ChernovSuren A. Chilingaryan2016-02-263-24/+63
| |\ | |/ |/|
* | Set value description content to NULL in pcilib_xml_parse_value_nameVasilii Chernov2016-02-251-0/+2
| |
* | Merge with Suren branch. Fix memory leaks.Vasilii Chernov2016-02-2413-423/+562
|\|
| * Add more GILs to prevent Python crashes in multithreaded applicationsSuren A. Chilingaryan2016-02-231-6/+22
| |
| * Stabilize merged codeSuren A. Chilingaryan2016-02-231-12/+18
| |
| * Merge Python scripting support from Vasiliy ChernovSuren A. Chilingaryan2016-02-2312-45/+556
| |\
| * | Add build informationSuren A. Chilingaryan2016-02-042-4/+11
| | |
* | | Add istall step for pcipywrapVasilii Chernov2016-02-191-1/+5
| | |
* | | 1. Fix warnings in test_multithread appVasilii Chernov2016-02-191-8/+22
| |/ |/| | | | | | | 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-171-0/+3
| |
* | Refactor pcipywrap to objectVasilii Chernov2016-02-171-21/+24
| |
* | 1. Add cmake BUILD_PYTHON_MODULES option.Vasilii Chernov2016-02-176-55/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-166-119/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* | Fix memory leaksVasilii Chernov2016-02-152-3/+20
| | | | | | | | | | Add GIL states for int pcilib_script_read and pcilib_script_write functions Correct desctructor for create_pcilib_instance return object
* | Move python module init code to transfom view constructorVasilii Chernov2016-02-125-14/+10
| | | | | | | | | | 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-124-140/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-116-588/+17
| |
* | Solve errors in serialing register_info function. Clear unused codeVasilii Chernov2016-02-113-63/+33
| |
* | 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-115-47/+536
| | | | | | | | python wrap.
* | Add write_register python wrap. Add no_set_check attribute to pcilib_view_t typeVasilii Chernov2016-02-095-22/+85
| |
* | 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-084-67/+215
| | | | | | | | and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies
* | Add support for python script properties. Correct pcilib python wrapping. ↵Vasilii Chernov2016-02-055-179/+168
| | | | | | | | Update examples. Update cmakelists for work in shadow build mode.
* | Add python wrap for pcilibVasilii Chernov2016-02-033-0/+209
|/
* Fix reading non DMA-able kernel pages using pcitoolSuren A. Chilingaryan2015-11-202-10/+24
|
* 64-bit access to BAR memorySuren A. Chilingaryan2015-11-206-15/+33
|
* Configure number of DMA buffers in IPEDMA and improve checking and reporting ↵Suren A. Chilingaryan2015-11-202-45/+110
| | | | inconsistent kmem buffers while re-using
* Fix AVX memory copySuren A. Chilingaryan2015-11-202-40/+40
|
* Support setting payload sizeSuren A. Chilingaryan2015-11-192-0/+8
|
* Driver versioningSuren A. Chilingaryan2015-11-192-2/+52
|
* Enforce 64-bit dma mask from IPEDMA if supportedSuren A. Chilingaryan2015-11-182-0/+9
|
* Provide API calls for register and bank address resolutionSuren A. Chilingaryan2015-11-183-0/+61
|
* Provide pcilib_get_bar_info & pcilib_get_bar_list API calls, remove obsolete ↵Suren A. Chilingaryan2015-11-183-40/+63
| | | | pcilib_resolve_register_address
* Support for 64-bit registesSuren A. Chilingaryan2015-11-1718-277/+640
|
* IPEDMA UpdateSuren A. Chilingaryan2015-11-171-1/+1
|
* Fix segmentation crash due to uninitialized variableSuren A. Chilingaryan2015-10-221-1/+2
|
* Fix the size of the configuration bankSuren A. Chilingaryan2015-10-221-1/+1
|
* Fix access to the property-based registersSuren A. Chilingaryan2015-10-222-43/+3
|
* Documentation updateSuren A. Chilingaryan2015-10-2217-303/+1384
|
* Add few messages to inform about precision problems while converting ↵Suren A. Chilingaryan2015-10-191-0/+6
| | | | polymorphic values
* Support multiple XML files per folderSuren A. Chilingaryan2015-10-192-90/+183
|
* Support computed (property-based) registersSuren A. Chilingaryan2015-10-1910-26/+177
|
* Add optional description in the value name-aliasesSuren A. Chilingaryan2015-10-192-0/+3
|
* Provide register listings in public APISuren A. Chilingaryan2015-10-194-36/+149
|
* Support reading/writting register views by idSuren A. Chilingaryan2015-10-189-21/+169
|
* Support properties in transform formulasSuren A. Chilingaryan2015-10-181-6/+25
|
* Support XML propertiesSuren A. Chilingaryan2015-10-184-9/+27
|
* Support properties of arbitrary typeSuren A. Chilingaryan2015-10-1817-127/+612
|