RTEMS  5.0.0
Functions | Variables
wkspace.c File Reference

Workspace Handler Support. More...

#include <rtems/score/wkspace.h>
#include <rtems/score/assert.h>
#include <rtems/score/heapimpl.h>
#include <rtems/score/interr.h>
#include <rtems/score/percpudata.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/tls.h>
#include <rtems/posix/pthread.h>
#include <rtems/config.h>
#include <string.h>

Functions

 RTEMS_LINKER_RWSET (_Per_CPU_Data, RTEMS_ALIGNED(CPU_CACHE_LINE_BYTES) char)
 
void _Workspace_Handler_initialization (Heap_Area *areas, size_t area_count, Heap_Initialization_or_extend_handler extend)
 Initilize workspace handler. More...
 
void * _Workspace_Allocate (size_t size)
 Allocate memory from workspace. More...
 
void * _Workspace_Allocate_aligned (size_t size, size_t alignment)
 Allocate aligned memory from workspace. More...
 
void _Workspace_Free (void *block)
 Free memory to the workspace. More...
 
void * _Workspace_Allocate_or_fatal_error (size_t size)
 Workspace allocate or fail with fatal error. More...
 

Variables

Heap_Control _Workspace_Area
 Executive workspace control. More...
 

Detailed Description

Workspace Handler Support.