My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sw_heap.c File Reference
#include <sw_debug.h>
#include <sw_mem_functions.h>
#include <sw_buddy.h>
#include <mem_mng.h>

Functions

void sw_malloc_free (void *ptr)
 Frees the memory allocated by passing the address ptr. More...
 
void sw_dump_mallocs (void)
 Prints the heap memory allocation related address and sizes. More...
 
void sw_malloc_init (void)
 Initial Memory Allocation Heap also initialized. More...
 

Function Documentation

void sw_dump_mallocs ( void  )

Prints the heap memory allocation related address and sizes.

void sw_malloc_free ( void *  ptr)

Frees the memory allocated by passing the address ptr.

Parameters
ptr
void sw_malloc_init ( void  )

Initial Memory Allocation Heap also initialized.