aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/anubis.c
Commit message (Expand)AuthorAge
* [CRYPTO] all: Clean up init()/fini()Kamalesh Babulal2008-04-20
* cleanup asm/scatterlist.h includesAdrian Bunk2007-11-02
* [CRYPTO] api: Get rid of flags argument to setkeyHerbert Xu2006-09-20
* [CRYPTO] all: Pass tfm instead of ctx to algorithmsHerbert Xu2006-06-26
* [CRYPTO] cipher: Set alignmask for multi-byte loadsHerbert Xu2006-01-09
* [CRYPTO] Use standard byte order macros wherever possibleHerbert Xu2006-01-09
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-16
light .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */

LITMUS^RT User-Space Library: liblitmus

Copyright (c) 2007-2016 The LITMUS^RT Project & Contributors http://www.litmus-rt.org

Released as open source under the terms of the GNU General Public License (GPL2).

Overview

This library and the included tools provide the user-space interface to LITMUS^RT. Real-time tasks should link against this library. The header file litmus.h contains all necessary system calls and definitions to interact with the kernel services provided for real-time tasks.

Documentation

For a gentle introduction to LITMUS^RT and its userspace tools, we recommend to check out the materials that were prepared for the LITMUS^RT tutorial presented at TuToR'16 @ CPSWeek'16.

In particular, check out the online manual prepared for TuToR'16:

Some additional information is available on the LITMUS^RT wiki at:

When writing real-time applications that need to make use of LITMUS^RT-specific interfaces and facilities, the application binary needs to be linked against liblitmus (this library). Instructions for how to do so are provided on the LITMUS^RT wiki.

As of version 2016.1, LITMUS^RT supports reservation-based scheduling. How to set up and use reservations is described in a separate document.

As part of the reservation framework, LITMUS^RT also supports proper table-driven scheduling (aka time partitioning or time-triggered scheduling). How to set up and use a static scheduling table described in a separate guide.

Getting Help

For any questions, bug reports, suggestions, etc. pertaining to LITMUS^RT or liblitmus, please contact the LITMUS^RT mailing list.

Tools and Programs in liblitmus

setsched

Run as:

setsched [<PLUGIN>]

Selects the active scheduler. Must be run as root. Run without argument to be presented with a list of available plugins (requires 'dialog' to be installed).

showsched

Run as:

showsched

Print the name of the currently active scheduler.

rt_launch

Run as:

rt_launch  [-w] [-p <PARTITION>] <WCET> <PERIOD> <PROGRAM> <ARGS>...

Launch the program <PROGRAM> as a real-time task provisioned with the given worst-case execution time and priod. Any additional parameters are passed on to the real-time task. The -w option makes the task wait for a sytem release. Run rt_launch -h for further options.

Tip: for debugging purposes, a couple of

rt_launch $EXEC_TIME $PERIOD find /

real-time processes, for reasonable values of $EXEC_TIME and $PERIOD, generates a workload that stresses the wakeup/suspend path of the scheduler pretty well. Similarly, running

rt_launch $EXEC_TIME $PERIOD sha256sum `find /home | sort -R

produces a CPU-intensive workload that also includes significant IO.

rt_spin

Run as:

rtspin [-w] [-p <PARTITION>] WCET PERIOD DURATION

A simple spin loop for emulating purely CPU-bound workloads. Not very realistic, but a good tool for debugging. The -w option makes the task wait for a sytem release. Run rtspin -h for further options.

The parameters WCET and PERIOD must be given in milliseconds, the paramter DURATION must be given in seconds.

release_ts

Run as:

release_ts [-f <NUM_TASKS>]

Release the task system. This allows for synchronous task system releases (i.e., ensure that all tasks share a common "time zero"). The -f option makes release_ts wait until the number of tasks waiting for the task system release equals <NUM_TASKS>.

See release_ts -h for further options.

Other tools