Main Page   Modules   Data Structures   File List   Globals  

memory.c File Reference

Memory management functions. More...

#include <avr/io.h>
#include <stddef.h>
#include <avr/interrupt.h>
#include "otos_cfg.h"
#include "otos_def.h"
#include "types.h"
#include "task.h"
#include "memory.h"

Go to the source code of this file.

Functions

void * otosAllocate (otos_size_t size)
 Allocate memory from system heap.

otos_size_t otosGetFreeHeap (void)
 Returns the number of free bytes in the heap.

void otosSetRamBank (uint8_t bank)
 Set RAM bank for external RAM.

uint8_t otosGetRamBank (void)
 Get active RAM bank.

void * otosAllocateBanked (otos_size_t size, uint8_t bank)
 Allocate memory from memory bank.


Variables

size_t __bss_end


Detailed Description

Memory management functions.

Definition in file memory.c.


Generated on Sat Jan 25 18:41:43 2003 for otOS by doxygen1.3-rc2