The Pedigree Project  0.1
Public Attributes | List of all members
memp_desc Struct Reference

#include <memp_priv.h>

+ Collaboration diagram for memp_desc:

Public Attributes

u16_t size
 
u16_t num
 
u8_t * base
 
struct memp ** tab
 

Detailed Description

Memory pool descriptor

Definition at line 149 of file memp_priv.h.

Member Data Documentation

u8_t* memp_desc::base

Base address

Definition at line 167 of file memp_priv.h.

Referenced by memp_init_pool().

u16_t memp_desc::num

Number of elements

Definition at line 164 of file memp_priv.h.

Referenced by memp_init_pool().

u16_t memp_desc::size

Element size

Definition at line 160 of file memp_priv.h.

Referenced by memp_init(), and memp_init_pool().

struct memp** memp_desc::tab

First free element of each pool. Elements form a linked list.

Definition at line 170 of file memp_priv.h.

Referenced by memp_free(), memp_init(), memp_init_pool(), and memp_malloc().


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