RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
memory.h File Reference

This header file provides the interfaces of the Memory Handler. More...

#include <rtems/score/basedefs.h>
#include <rtems/score/assert.h>

Go to the source code of this file.

Data Structures

struct  Memory_Area
 The memory area description. More...
 
struct  Memory_Information
 The memory information. More...
 

Macros

#define MEMORY_INFORMATION_INITIALIZER(areas)    { RTEMS_ARRAY_SIZE( areas ), ( areas ) }
 Statically initialize a memory information.
 
#define MEMORY_INITIALIZER(begin, end)   { ( begin ), ( begin ), ( end ) }
 Statically initialize a memory area.
 

Functions

const Memory_Information_Memory_Get (void)
 Return the memory information of this platform.
 
void * _Memory_Allocate (const Memory_Information *information, uintptr_t size, uintptr_t alignment)
 Allocate a memory area from the memory information.
 
void _Memory_Fill (const Memory_Information *information, int c)
 Fill all free memory areas of the memory information with a constant byte.
 
void _Memory_Zero_free_areas (void)
 Zeros all free memory areas of the system.
 
void _Memory_Dirty_free_areas (void)
 Dirty all free memory areas of the system.
 

Variables

const bool _Memory_Zero_before_use
 Indicates if the memory is zeroed during system initialization.
 
char _Memory_Noinit_begin []
 This symbol marks the begin of the non-initialized section used by RTEMS.
 
char _Memory_Noinit_end []
 This symbol marks the end of the non-initialized section used by RTEMS.
 

Detailed Description

This header file provides the interfaces of the Memory Handler.