- 10 Nov, 2015 3 commits
-
-
Lucas Russo authored
Now, hutils_wait_chld () returns, on successfully waiting a child, its PID number, instead of 0. This gives the ability to other functions to distinguish between "nothing to wait for" from "successfully waited child".
-
Lucas Russo authored
This fixes possible hanging dev_io_cfg children there are waiting to be cleaned up by the parent.
-
Lucas Russo authored
This functions performs the same as hutils_wait_clhd (), apart from that it employs a busy loop timeout, calling hutils_wait_chld () each time and exiting if the timeout is over.
-
- 09 Nov, 2015 3 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
We need to acquire a multiple number of samples_alignment value. With samples_alignment being 4 (typical for the ADC and ADCSWAP channels), the following equation yields correct results: num_samples_aligned = num_samples_pre + num_samples_aligned - (num_samples_pre % num_samples_aligned)
-
Lucas Russo authored
-
- 05 Nov, 2015 2 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
Kx,Ky values were just plain wrong. Instead of the default value of 10_000_000 it was 1_000_000. Ksum was using the value 1.0 with old value FIX25_24 that was used by the previous DSP chain. Now, we use FIX25_0.
-
- 04 Nov, 2015 4 commits
-
-
Lucas Russo authored
As we now have, in the same register, two fields, acha_chan and acq_dtrig_chan, we must modify only the bits associated with that field. Previously, when we set the acquisition channel, we were rewriting the whole register, effectively selection channel 0 for the acq_dtrig_chan field.
-
Lucas Russo authored
-
Lucas Russo authored
Now, device names are created as /dev/fpga-<bus_number << 8><device_fn> and as /dev/fpga/<bus_number << 8><device_fn>
-
Lucas Russo authored
-
- 29 Oct, 2015 2 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
- 28 Oct, 2015 2 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
This improves portability, as zsys_daemonize () is system independent.
-
- 26 Oct, 2015 3 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
- 24 Oct, 2015 1 commit
-
-
Lucas Russo authored
-
- 23 Oct, 2015 3 commits
-
-
Lucas Russo authored
As we do not send the $TERM message anymore, it makes sense to rename the function to a more suitable name.
-
Lucas Russo authored
On DEVIO destruction, typically triggered by the SIGINT, the main DEVIO thread receives it and used to start sending $TERM messages to all SMIOs (implemented as actors/threads). However, the SMIOs also receive the signal and exited gracefully, as usual. The problem arises by the fact that some SMIOs exited before the DEVIO had a chance to send the message to that specific SMIO. This would block the zmsg_send (), as it waits forever to send the message by default, which will never get to the SMIO, as it does not exists anymore. The solution would be to have a timeout for the zmsg_send () and consider the SMIO as nonexisting if it cannot send the message some time after. Instead of doing this, we simply omit the message send and call zactor_destroy () directly, as it already implements this timeout.
-
Lucas Russo authored
-
- 22 Oct, 2015 9 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
The LGPLv3 license is not suitable to our project as it is not a library, for instance. GPLv3 is still compatible with our libraries (LGPLv3 for libzmq) and provides us with roughly the same benefits.
-
Lucas Russo authored
Travis cannot run ldconfig on install, so we tell our build system not to execute it.
-
Lucas Russo authored
-
Lucas Russo authored
This is important on systems that don't have ldconfig or on test systems, such as travis
-
Lucas Russo authored
As we use -Werror all warnings are treated as errors and liberrhand will issue an warning if we do not specify DEBUG flags. To keep things clean, we ignore these warnings here.
-
Lucas Russo authored
-
Lucas Russo authored
We were not destroying the zrex structure as we exit prior to that on success.
-
Lucas Russo authored
Hashes (zhash or zhashx) take a copy of the key value and so they must be free locally too.
-
- 21 Oct, 2015 8 commits
-
-
Lucas Russo authored
We "have" (easier as the functionality required is already implemented) to use the LLIO library to read/write in our PCIe devices.
-
Lucas Russo authored
-
Lucas Russo authored
We already build libbpmclient with LIBS command. No need to run it twice.
-
Lucas Russo authored
-
Lucas Russo authored
This happens with liberrhand using #warning to inform the user that we didn't set the debug level and it will use the defaults.
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-