PmHeapDesc_s Struct Reference

List of all members.

Public Attributes

uint16_t hd
struct PmHeapDesc_sprev
struct PmHeapDesc_snext


Detailed Description

The following is a diagram of the heap descriptor at the head of the chunk:

MSb LSb 7 6 5 4 3 2 1 0 pchunk-> +-+-+-+-+-+-+-+-+ | S[9:2] | S := Size of the chunk (2 LSbs dropped) +-+-+-----------+ F := Chunk free bit (not in use) |F|R| S[15:10] | R := Bit reserved for future use +-+-+-----------+ | P(L) | P := hd_prev: Pointer to previous node | P(H) | N := hd_next: Pointer to next node | N(L) | | N(H) | Theoretical min size == 6 +---------------+ Effective min size == 8 | unused space | (12 on 32-bit MCUs) ... ... | end chunk | +---------------+


Member Data Documentation

uint16_t PmHeapDesc_s::hd

Heap descriptor

Ptr to next heap chunk

Ptr to prev heap chunk


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

Generated on Wed Feb 24 13:37:03 2010 for Python-on-a-chip by  doxygen 1.5.9