RTEMS CPU Kit with SuperCore
Data Fields
rtems_rbheap_chunk Struct Reference

Red-black heap chunk descriptor. More...

#include <rbheap.h>

Collaboration diagram for rtems_rbheap_chunk:
Collaboration graph
[legend]

Data Fields

rtems_chain_node chain_node
 This chain node can be used in two chains. More...
 
rtems_rbtree_node tree_node
 Tree node for chunks that represent a part of the managed memory area. More...
 
uintptr_t begin
 Begin address of the chunk. More...
 
uintptr_t size
 Size of the chunk in bytes.
 

Detailed Description

Red-black heap chunk descriptor.

Field Documentation

โ—† begin

uintptr_t rtems_rbheap_chunk::begin

Begin address of the chunk.

The address alignment it specified in the rtems_rbheap_control.

โ—† chain_node

rtems_chain_node rtems_rbheap_chunk::chain_node

This chain node can be used in two chains.

  • the chain of spare chunk descriptors and
  • the chain of free chunks in the managed memory area.

In case this chain node is not part of a chain, the chunk represents a used chunk in the managed memory area.

โ—† tree_node

rtems_rbtree_node rtems_rbheap_chunk::tree_node

Tree node for chunks that represent a part of the managed memory area.

These chunks are either free or used.


The documentation for this struct was generated from the following file: