Data Fields
keystone_mmap_heap_element_s Struct Reference

This strucutre is the basic element of the address space heap. More...

#include <mmap_resource.h>

Data Fields

uint32_t base_addr
 Base address of the address space segment. Must be aligned to the length.
uint32_t length
 Length of the address space segment. Must be a power of 2.
uint8_t in_use
 Flag to indicate if the element is being used within the heap structure.
uint8_t allocated
 Number of address space segments allocated for mapping within this segment.
uint8_t prot
 Indicates whether this segment is cached of noncached.
uint32_t sub_elem [2]
 The sub elements are the current element split into 2 equal sized segments. They are used to fragment the address space into power of 2 sized segments.

Detailed Description

This strucutre is the basic element of the address space heap.

These elements are used to construct a binary tree representing the fragmentation of the address space into power of 2 sizes. They are statically allocated in the keystone_mmap_resources_t structure in the heap elemnt bank.


Field Documentation

Indicates whether this segment is cached of noncached.

Only applicable for segments of size KEYSTONE_MMAP_HEAP_ALIGN or smaller, and only if allocated is greater than 0.


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

Copyright 2014, Texas Instruments Incorporated