freebsd-dev/sys/contrib/octeon-sdk/cvmx-malloc/README-malloc
Juli Mallett dc4ee6ca91 Merge the Cavium Octeon SDK 2.3.0 Simple Executive code and update FreeBSD to
make use of it where possible.

This primarily brings in support for newer hardware, and FreeBSD is not yet
able to support the abundance of IRQs on new hardware and many features in the
Ethernet driver.

Because of the changes to IRQs in the Simple Executive, we have to maintain our
own list of Octeon IRQs now, which probably can be pared-down and be specific
to the CIU interrupt unit soon, and when other interrupt mechanisms are added
they can maintain their own definitions.

Remove unmasking of interrupts from within the UART device now that the
function used is no longer present in the Simple Executive.  The unmasking
seems to have been gratuitous as this is more properly handled by the buses
above the UART device, and seems to work on that basis.
2012-03-11 06:17:49 +00:00

13 lines
532 B
Plaintext

Readme for Octeon shared memory malloc
This malloc is based on ptmalloc2, which is the malloc
implementation of glibc. Source code and more information
on this can be found at http://www.malloc.de/en/index.html.
Please see the individual files for licensing terms.
The main change to the code modifies the way the malloc
gets memory from the system. Under Linux/Unix, malloc
uses the brk or memmap sytem calls to request more memory.
In this implementation, memory regions must be explicitly
given to malloc by the application.