RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Functions
part.h File Reference

This header file provides the Partition Manager API. More...

#include <stddef.h>
#include <stdint.h>
#include <rtems/rtems/attr.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/score/cpu.h>

Go to the source code of this file.

Macros

#define RTEMS_PARTITION_ALIGNMENT   CPU_SIZEOF_POINTER
 This constant defines the minimum alignment of a partition buffer in bytes.
 

Functions

rtems_status_code rtems_partition_create (rtems_name name, void *starting_address, uintptr_t length, size_t buffer_size, rtems_attribute attribute_set, rtems_id *id)
 Creates a partition.
 
rtems_status_code rtems_partition_ident (rtems_name name, uint32_t node, rtems_id *id)
 Identifies a partition by the object name.
 
rtems_status_code rtems_partition_delete (rtems_id id)
 Deletes the partition.
 
rtems_status_code rtems_partition_get_buffer (rtems_id id, void **buffer)
 Tries to get a buffer from the partition.
 
rtems_status_code rtems_partition_return_buffer (rtems_id id, void *buffer)
 Returns the buffer to the partition.
 

Detailed Description

This header file provides the Partition Manager API.