Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_mem.h/lib_mem.c

Prototype

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          void  Mem_PoolCreate (MEM_POOL          *pmem_pool,
                                void              *pmem_base_addr,
                                CPU_SIZE_T         mem_size,
                                MEM_POOL_BLK_QTY   blk_nbr,
                                CPU_SIZE_T         blk_size,
                                CPU_SIZE_T         blk_align,
                                CPU_SIZE_T        *poctets_reqd,
                                LIB_ERR           *perr);

Arguments

pmem_pool

Pointer to a memory pool structure to create.

...

pmem_pool must be passed a valid pointer to the address of a declared MEM_POOL variable.

Example Usage

...

LanguageC++
CaptionTextCAPTION
languagecpp

...