aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* rt_launch: add support for -q <priority>Bjoern Brandenburg2013-01-11
| | | | This mirrors the option in rtspin.
* Make release_ts a bit more userfriendlyBjoern Brandenburg2013-01-11
| | | | | | | The -f option required manually *also* setting the -w option. This is no longer required. While at it, simplify the code by using the /proc interface.
* Pull fpmath.h for use in liblitmus.2012.3Glenn Elliott2012-12-21
| | | | | | Branch litmus-rt/prop/robust-tie-break added fpmath.h for fixed-point computations. Updated Makefile to pull this header from litmus-rt so it may also be used in liblitmus.
* Add control page offset checksstagingBjoern Brandenburg2012-12-06
| | | | | Make sure the kernel and userspace compilers have the same idea of the layout of the control page.
* Add testcase for preemptions on wakeup under P-EDF and P-FPBjoern Brandenburg2012-08-14
| | | | | | Resuming higher-priority tasks should of course preempt lower-priority tasks. This test case infers if higher-priority tasks are unreasonably delayed.
* Implement lt_sleep() syscall wrapperBjoern Brandenburg2012-08-14
| | | | | Wrap nanosleep() to make sleeping for a given number of nanoseconds easier, using the LITMUS^RT time type lt_t.
* Implement get_nr_ts_release_waiters() /proc wrapperBjoern Brandenburg2012-08-14
| | | | | Add a wrapper for /proc/litmus/stats to make it easy to query the number of tasks already waiting for a task set release.
* Reduce artifical delay in testBjoern Brandenburg2012-08-14
| | | | | The 2 second delay was quite annoying. Make it short enough to not be so obvious.
* Add tests for the DPCP and the MPCPBjoern Brandenburg2012-08-14
| | | | | Do the basic open/lock/unlock/close test sequence for the MPCP and the DPCP as well.
* Add convenience wrappers for the DPCP and MPCPBjoern Brandenburg2012-08-14
| | | | For consistency reasons and to document the cpu parameter of the DPCP.
* git: ignore files generated by the build systemBjoern Brandenburg2012-08-14
| | | | Prevents accidental staging of auto-generated files.
* test case: reject infeasible densities2012.2archive/unc-master-3.0Bjoern Brandenburg2012-08-01
| | | | | Add a test that makes sure that the kernel does indeed not accept infeasible densities.
* Run test suite for currently active plugin by defaultBjoern Brandenburg2012-08-01
| | | | Try to infer current plugin if no plugin is specified.
* Add a little explanation to the basic task prototypesBjoern Brandenburg2012-08-01
| | | | Also add the priority parameter, which was missing.
* API Update: Support arbitrary deadlines.Glenn Elliott2012-08-01
| | | | | | | | Updated APIs to support arbitrary deadlines. Added macros for implicit deadlines. Note: Had to tweak Makefile to support gcc version >= 4.6 (moved -lrt to the end of the link command).
* Properly report tests that segfault.Bjoern Brandenburg2012-07-23
| | | | | Segmentation faults are clearly test failures; make sure to report them accordingly.
* New test: /dev/litmus/ctrl must be writableBjoern Brandenburg2012-07-23
| | | | | Under any plugin, the control page should be mappable and writable.
* Add test cases for P-FP prioritiesBjoern Brandenburg2012-06-26
| | | | | Make sure out-of-range priorities are always rejected.
* Make use of kernel-provided FP macrosBjoern Brandenburg2012-06-26
| | | | | | Use the kernel's notion of fixed priorities. Also, add some clarifying comments to the task setup wrappers.
* P-FP: make PCP available to user spaceSven Dziadek2012-05-31
| | | | | | PCP was only used for DPCP before tests: add some basic tests for PCP under P-FP
* P-FP: port P-FP plugin used in B. Brandenburg'sSven Dziadek2012-05-31
| | | | | | | | | dissertation (branch bbb-diss) I took the unchanged code but removed references to OMLP which was and is not implemented tests: changed so that they work for P-FP
* Change default path to remove *2010 tag.2012.1wip-2011.2-bbbBjoern B. Brandenburg2011-11-24
| | | | | This is not the 2010 version anymore, so let's use a version-agnostic path.
* Switch to new np-section protocol.Bjoern B. Brandenburg2011-11-24
| | | | Everything is in one 32-bit word now.
* update headersBjoern B. Brandenburg2011-11-24
| | | | we need uint64_t in litmus.h
* tests: add valid budget_policy to rt_task parametersAndrea Bastoni2011-08-26
| | | | | | | Since set_rt_task_param() checks for wrong budget policies, make sure to specify a valid policy to avoid errors like the following. litmus: real-time task 3635 rejected because unsupported budget enforcement policy specified
* tests: allow 'LITMUS' as an alias of all non-Linux pluginsBjoern B. Brandenburg2011-02-03
| | | | This is useful for tests that apply to any plugin.
* add test cases for the FMLP and SRP under GSN- and PSN-EDFBjoern B. Brandenburg2011-02-03
|
* switch to generic locking system callsBjoern B. Brandenburg2011-02-03
| | | | | The new generic lock layer in LITMUS^RT does away with per-protocol system calls. Change accordingly.
* Export wctime() and cputime() from rtspin to library clientsBjoern B. Brandenburg2011-02-03
| | | | | The timing functions are quite handy when building benchmark tasks. Avoid copy&paste reuse by making them available via the library.
* bugfix: switch operangs in delay computationBjoern B. Brandenburg2011-02-03
| | | | | We want the positive loop length, not the negative, to prevent jobs from overruning their budget.
* add test that checks that RT class is not inherited across forkBjoern B. Brandenburg2011-02-01
|
* Remove old delay loop configuration cruft from rtspinBjoern B. Brandenburg2011-01-30
| | | | | Using cputime() is much more accurate than the old delay loop auto-configuration. There is no good reason to keep it around.
* Modify RTSpin so that it can read execution time data from a CSV file.Christopher Kenna2011-01-30
| | | | | Still need to figure out what to do with the period is less than the exec_cost (or budget).
* fix header detection on ARM2011.1Bjoern B. Brandenburg2011-01-25
| | | | | | The ARM port uses <litmus... instead of "litmus..., so let's use egrep with a proper regular expression to reliably find the line that includes the Litmus system calls.
* don't require LITMUS^RT headers for 'make help'Bjoern B. Brandenburg2011-01-25
| | | | It should be possible to see the help when the configuration is broken.
* add installation instructions to liblitmus (and 'make help')Bjoern B. Brandenburg2010-11-24
| | | | | Some initial documentation to aid new users get started with compiling the library.
* add cscope target to MakefileBjoern B. Brandenburg2010-11-23
| | | | | cscope is very nice for exploring the library and finding related code. Let's support it by pre-building an index of all files.
* add TAGS and tags targets to MakefileBjoern B. Brandenburg2010-11-23
| | | | | It's nice to have a TAGS file around when exploring the library. Let's generate one for vim and emacs.
* Patch so Make will die if it detects non-LITMUS^RT kernel headers.Christopher Kenna2010-11-22
|
* Provide standard Makefile rules for clients of liblitmusBjoern B. Brandenburg2010-11-22
| | | | | | We avoid doing the same thing over and over in all repositories using liblitmus if we just pull in common rules & configurations from liblitmus. This gives us the ability to cross-compile for free.
* rtspin: transition back to non-real-time modeBjoern B. Brandenburg2010-11-22
| | | | | rtspin produces prettier schedules if it transitions to non-real-time mode before terminating.
* remove asm/atomic.hBjoern B. Brandenburg2010-11-09
| | | | | | | | | | | For historic resons, we carry old atomic operations support in liblitmus. This is no longer useful: 1) There is actually no client for these calls in liblitmus. 2) There is now a standard gcc API for this purpose. http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html Thus, we can reduce our maintenance burden.
* generate error message if build config seems fishyBjoern B. Brandenburg2010-11-09
| | | | | Failing loudly is a lot better than just producing a cryptic error message about some dependency file.
* output header to STDERR in measure_syscallBjoern B. Brandenburg2010-11-09
| | | | This hopefully helps a bit to clarify the output.
* add emergency exit to rtspinBjoern B. Brandenburg2010-11-09
| | | | | | This should only trigger if the execution time tracking is broken (as it was on District10). With the emergency exit, we at least prevent the system from becoming unresponsive.
* don't require /bin/bashBjoern B. Brandenburg2010-11-09
| | | | | We don't have BASH on District10 at the moment, and the scripts work just fine with busybox's /bin/sh replacement (ash).
* add ARM architecture-dependent filesBjoern B. Brandenburg2010-11-09
| | | | | The atomic.h file is currently only a dummy, but it is sufficient to get basic real-time tasks to run.
* refactor: remove all architecture-dependent code from include/Bjoern B. Brandenburg2010-11-09
| | | | Move the architecture-dependent code to the arch/ subtree.
* refactor: use architecture-specific includes for cycles.hBjoern B. Brandenburg2010-11-09
|
* avoid including header files directlyBjoern B. Brandenburg2010-11-09
| | | | | | | | | | | | | | | The kernel warns against including header files directly. For good reason: our previous approach (just -I$KERNEL/include) caused all kinds of files to be included that should have come from /usr/include instead. This patch rewrites the Makfile so that the (few) needed headers are copied into the liblitmus src tree before compiling the library. This avoids having to specify the kernel include directories with -I, and also makes it easier to link against liblitmus (external applications do not need to know where the kernel is). Finally, this allows us to enable -Werror.