- 10 May, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Since ABI 24, we can read from the target file connected to a proxy. The EVL_CLONE_INPUT, EVL_CLONE_OUTPUT creation flags select the direction (may be combined for a single proxy instance). The evl_new_proxy() short call form sticks with the original behavior, creating an output-only proxy. There is actually no change needed to libevl in order to enable this feature. Just add a test for peace of mind. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 04 May, 2020 3 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Do build them unconditionally though. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 03 May, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 01 May, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 30 Apr, 2020 2 commits
-
-
Philippe Gerum authored
Since ABI 23, the core is able to channel T_WOSS, T_WOLI and T_WOSX error notifications through the offender's observable component if present. Convert all SIGDEBUG_xxx cause codes to the new EVL_HMDIAG_xxx naming, so that we have a single nomenclature for these errors regardless of whether threads are notified via SIGDEBUG or their observable component. The API rev. is bumped to #17 as a result of these changes. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Since ABI 23, the core provides the new observable element, which enables the observer design pattern. Any EVL thread is in and of itself an observable which can be monitored for events too. As a by-product, the poll interface can now be given a user-defined opaque data when subscribing file descriptors to poll elements, which the core passes back on return to evl_poll(). Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 26 Apr, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 23 Apr, 2020 10 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Open-coding oob_ioctl() calls to set/clear mode bits in apps is unhandy and fairly ugly. Let's provide sanctioned services for these requests, namely evl_set_thread_mode() and evl_clear_thread_mode() respectively. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Useful to pick the most appropriate CPU available for running a test, accounting for the initial hint given by the caller. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Starting with ABI 22, we can ask for the core to unblock a thread from a wait state, which may include forcing it out of any real-time scheduling class by demoting it to SCHED_WEAK in the same move. Export evl_unblock_thread() and evl_demote_thread() as the corresponding wrappers. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
An equivalent of sched_yield(). Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 21 Apr, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 18 Apr, 2020 1 commit
-
-
Philippe Gerum authored
Since core ABI 21, users can decide whether a new element should be made public or private depending on the value of clone flags added to the new long form of all element creation calls, i.e. evl_create_*(). All evl_new_*() calls become a shorthand for their respective long form with reasonable default arguments, including private visibility. As a shorthand, libevl also interprets a slash character leading the name argument passed to these services as an implicit request for creating a public element. In other words, this is the same as passing EVL_CLONE_PUBLIC in the clone flags. A public element appears as a cdev in the /dev/evl hierarchy, which means that it is visible to other processes, which may share it. On the contrary, a private element is only known from the process creating it, although it does appear in the /sysfs hierarchy regardless. e.g.: efd = evl_attach_self("/visible-thread"); total 0 crw-rw---- 1 root root 248, 1 Apr 17 11:59 clone crw-rw---- 1 root root 246, 0 Apr 17 11:59 visible-thread or, efd = evl_attach_self("private-thread"); total 0 crw-rw---- 1 root root 248, 1 Apr 17 11:59 clone Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 17 Apr, 2020 3 commits
-
-
Philippe Gerum authored
Given that evl_sched_control() was hardly usable prior to the latest fixes to the scheduler control code in the core and no feedback ever happened about such issues, we may assume that such call has no user yet. Take this opportunity to fix a naming inconsistency in the API. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
sched_priority is implemented as a macro by glibc which serves as a wrapper to the real attribute field in schedparam. Some architectures may use this trick to hide the actual identifier from the user code, so make sure to always pull <sched.h> before referencing sched_priority in uapi/ headers, so that such wrapping also happens when struct evl_sched_attrs is defined. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 28 Mar, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
These changes fix up the argument passed to the core system calls in order to abide by the new ABI allowing 32bit applications to issue requests to 64bit kernels. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 26 Mar, 2020 10 commits
-
-
Philippe Gerum authored
This testsuite currently checks the ability to include the libevl headers in C++ code. This suite checks that all interface files exported by libevl are C++ friendly. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
We did produce the depfiles, but no target would depend on it. Oh, well. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 19 Mar, 2020 1 commit
-
-
Philippe Gerum authored
-