Files
foc/l4/pkg/l4util/README
2013-01-11 17:00:47 +01:00

20 lines
888 B
Plaintext

Miscellaneous functionality not belonging to other packages.
This package implements some functionality which doesn't fit into other
packages, mainly to support some features of a C library and to support some
features of the L4 microkernel:
- programming of the Local APIC of x86 processors (PPro+)
- using the time stamp counter of x86 processors (Pentium+)
- using the performance counters of x86 processors (Pentium+)
- atomic operations (compare and exchange)
- bit and bit field manipulation operations
- x86 port I/O (in/out)
- x86 cli/sti, irq_acknowledge for the fully special nested mode
- comfortable parsing of command line arguments
- a simple random number generator
- touching memory to preclude later pagefaults
- a very simple lock implementation (better use the L4env lock package)
- a simple function for creating threads (better use the L4env thread package)
- etc.