RTEMS
Functions

Classic Partition Manager Implementation. More...

#include <rtems/rtems/partdata.h>
#include <rtems/score/address.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/objectimpl.h>

Go to the source code of this file.

Functions

static __inline__ void * _Partition_Allocate_buffer (Partition_Control *the_partition)
 Allocate a buffer from the_partition. More...
 
static __inline__ void _Partition_Free_buffer (Partition_Control *the_partition, Chain_Node *the_buffer)
 Frees the_buffer to the_partition. More...
 
static __inline__ bool _Partition_Is_buffer_on_boundary (void *the_buffer, Partition_Control *the_partition)
 Checks whether is on a valid buffer boundary for the_partition. More...
 
static __inline__ bool _Partition_Is_buffer_valid (Chain_Node *the_buffer, Partition_Control *the_partition)
 Checks whether the_buffer is a valid buffer from the_partition. More...
 
static __inline__ bool _Partition_Is_buffer_size_aligned (uint32_t buffer_size)
 
static __inline__ bool _Partition_Is_buffer_area_aligned (const void *starting_address)
 
static __inline__ Partition_Control_Partition_Allocate (void)
 Allocates a partition control block from the inactive chain of free partition control blocks. More...
 
static __inline__ void _Partition_Initialize (Partition_Control *the_partition, void *starting_address, uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set)
 
static __inline__ void _Partition_Destroy (Partition_Control *the_partition)
 
static __inline__ void _Partition_Free (Partition_Control *the_partition)
 Frees a partition control block to the inactive chain of free partition control blocks. More...
 
static __inline__ Partition_Control_Partition_Get (Objects_Id id, ISR_lock_Context *lock_context)
 
static __inline__ void _Partition_Acquire_critical (Partition_Control *the_partition, ISR_lock_Context *lock_context)
 
static __inline__ void _Partition_Release (Partition_Control *the_partition, ISR_lock_Context *lock_context)
 

Detailed Description

Classic Partition Manager Implementation.

Definition in file partimpl.h.