My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Typedefs | Functions
sw_allocator.h File Reference
#include <sw_types.h>

Go to the source code of this file.

Classes

struct  svisor_allocator_info
 This structure has information about the memory regions. More...
 
struct  svisor_allocator_params
 This structure has information about the memory regions. More...
 

Typedefs

typedef int(* mem_map_handler )(u32, u32, u32)
 

Functions

int sw_allocator_init (struct svisor_allocator_params *params, struct svisor_allocator_info *allocator)
 
void set_allocator (struct svisor_allocator_info *allocator)
 
struct svisor_allocator_infoget_allocator (void)
 

Typedef Documentation

typedef int(* mem_map_handler)(u32, u32, u32)
Parameters
@paramu32
u32
Returns

Function Documentation

struct svisor_allocator_info* get_allocator ( void  )
Returns
void set_allocator ( struct svisor_allocator_info allocator)
Parameters
allocator
int sw_allocator_init ( struct svisor_allocator_params params,
struct svisor_allocator_info allocator 
)
Returns