Lazuli
|
Kernel memory functions. More...
#include <stdint.h>
#include <Lazuli/common.h>
#include <Lazuli/config.h>
#include <Lazuli/sys/arch/AVR/registers.h>
#include <Lazuli/sys/kernel.h>
#include <Lazuli/sys/memory.h>
Go to the source code of this file.
Functions | |
static void * | SetBreak (const unsigned int increment, AllocationMap *const map) |
Set break position of a memory region. More... | |
void * | KIncrementalMalloc (const size_t size) |
Allocate memory for kernel objects using incremental method. More... | |
void | Memory_Copy (const void *source, void *destination, const size_t size) |
Copy bytes from one location to another in main memory. More... | |
Kernel memory functions.
Memory functions for the kernel: allocation, copy, ...
Definition in file memory.c.
|
static |
Set break position of a memory region.
increment | The number of bytes to increment the break. |
map | A pointer to the concerned allocation map. |
void* KIncrementalMalloc | ( | const size_t | size | ) |
void Memory_Copy | ( | const void * | source, |
void * | destination, | ||
const size_t | size | ||
) |