summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Make Python problems non-fatalSuren A. Chilingaryan2016-03-031-10/+9
|
* Distinguish between hardware and bus addresses in pcilib and fix cli reading ↵Suren A. Chilingaryan2016-03-021-3/+3
|\ | | | | | | from DMA when very low DMA timeout is set
| * Detect page mask before any kmem operations (locks, softregs, etc.)Suren A. Chilingaryan2016-03-011-3/+3
| |
* | Merge Python scripting support from Vasiliy ChernovSuren A. Chilingaryan2016-02-231-4/+11
|\ \ | |/ |/|
| * 1. Add cmake BUILD_PYTHON_MODULES option.Vasilii Chernov2016-02-171-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
| * Move python module init code to transfom view constructorVasilii Chernov2016-02-121-1/+2
| | | | | | | | | | 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-121-7/+7
|/ | | | | | | | | | | | | | | | | 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
* Support setting payload sizeSuren A. Chilingaryan2015-11-191-0/+7
|
* Driver versioningSuren A. Chilingaryan2015-11-191-2/+47
|
* Enforce 64-bit dma mask from IPEDMA if supportedSuren A. Chilingaryan2015-11-181-0/+7
|
* Documentation updateSuren A. Chilingaryan2015-10-221-121/+3
|
* Support properties of arbitrary typeSuren A. Chilingaryan2015-10-181-4/+4
|
* Introduce hashesSuren A. Chilingaryan2015-10-091-14/+11
|
* Base functions for viewsSuren A. Chilingaryan2015-10-081-2/+10
|
* Finalyze XML support and provide initial support for views (only ↵Suren A. Chilingaryan2015-09-241-10/+35
|\ | | | | | | descriptions so far)
| * cleaningnicolas.zilio@hotmail.fr2015-09-151-7/+1
| |
| * first try with pcilib_operation_tnicolas.zilio@hotmail.fr2015-09-141-3/+4
| |
| * views working fine, units in progressnicolas.zilio@hotmail.fr2015-09-141-4/+10
| |
| * more towards viewsnicolas.zilio@hotmail.fr2015-09-111-0/+12
|/
* Initial integration of XML supportSuren A. Chilingaryan2015-09-101-9/+26
|\
| * further modificationszilio nicolas2015-09-071-1/+9
| |
| * end of modificationszilio nicolas2015-09-041-9/+1
| |
| * almost finished regarding suren remarkszilio nicolas2015-09-041-0/+1
| |\ | |/ |/|
* | Fixes out-of-source builds and minor build issuesSuren A. Chilingaryan2015-09-011-0/+1
| |
| * almost finished regarding suren remarkszilio nicolas2015-09-041-5/+1
| |
| * xml files get by model and remove of validation modezilio nicolas2015-08-271-11/+6
| |
| * better public API and no more use of locals within pcilib_openzilio nicolas2015-08-271-22/+2
| |
| * put xml nodes pointers for banks and registers in pcilib_t, compil okzilio nicolas2015-08-271-4/+4
| |
| * pull from serverzilio nicolas2015-08-261-6/+38
| |\ | |/ |/|
* | Do not fail if PCI configuration is not fully available to unprivileged userSuren A. Chilingaryan2015-08-121-3/+8
| |
* | Protect access to the DMA engine with locksSuren A. Chilingaryan2015-08-061-0/+8
| |
* | Read model from environmental variable if definedSuren A. Chilingaryan2015-08-051-0/+3
| |
* | Integrate locking subsystem from Nicolas ZilioSuren A. Chilingaryan2015-08-051-3/+19
|\ \
| * | clean version for lockszilio nicolas2015-07-071-0/+8
|/ /
| * some modifzilio nicolas2015-07-071-0/+7
| |
| * modified pci to put banks before registerszilio nicolas2015-07-031-5/+5
| |
| * registers and banks support in xml v1. pci -ll works fine, but got segfault ↵zilio nicolas2015-07-011-0/+33
|/ | | | on pci -r name and pci -r name gives 0 always. might be due to the order in pci.c ------> ask suren
* Provide PCIe link information in pcilibSuren A. Chilingaryan2015-05-071-2/+110
|
* Split bar manipulation and fifo operations in stand-alone source and publish ↵Suren A. Chilingaryan2015-05-051-209/+7
| | | | kmem and bar headers
* Prevent double-free of pcilib context when open failsSuren A. Chilingaryan2015-05-031-4/+0
|
* Create dummy register contextSuren A. Chilingaryan2015-04-291-5/+8
|
* Report selected modelSuren A. Chilingaryan2015-04-281-1/+4
|
* Initial support for event enginesSuren A. Chilingaryan2015-04-281-25/+48
|
* More structural changes to get ready for stand-alone event enginesSuren A. Chilingaryan2015-04-241-0/+540