RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
shm.h File Reference

Internal Support for POSIX Shared Memory. More...

#include <rtems/score/objectdata.h>
#include <rtems/score/threadq.h>
#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  POSIX_Shm_Object
 Encapsulation for the storage and manipulation of shm objects. More...
 
struct  POSIX_Shm_Object_operations
 Operations on POSIX Shared Memory Objects. More...
 
struct  POSIX_Shm_Control
 Control for a POSIX Shared Memory Object. More...
 

Macros

#define POSIX_SHM_INFORMATION_DEFINE(max)
 Macro to define the objects information for the POSIX Shared Memory objects.
 

Typedefs

typedef struct POSIX_Shm_Object_operations POSIX_Shm_Object_operations
 

Functions

int _POSIX_Shm_Object_create_from_workspace (POSIX_Shm_Object *shm_obj, size_t size)
 object_create operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_delete_from_workspace (POSIX_Shm_Object *shm_obj)
 object_delete operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_resize_from_workspace (POSIX_Shm_Object *shm_obj, size_t size)
 object_resize operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_read_from_workspace (POSIX_Shm_Object *shm_obj, void *buf, size_t count)
 object_read operation for shm objects stored in RTEMS Workspace.
 
void * _POSIX_Shm_Object_mmap_from_workspace (POSIX_Shm_Object *shm_obj, size_t len, int prot, off_t off)
 object_mmap operation for shm objects stored in RTEMS Workspace.
 
int _POSIX_Shm_Object_create_from_heap (POSIX_Shm_Object *shm_obj, size_t size)
 object_create operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_delete_from_heap (POSIX_Shm_Object *shm_obj)
 object_delete operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_resize_from_heap (POSIX_Shm_Object *shm_obj, size_t size)
 object_resize operation for shm objects stored in C program heap.
 
int _POSIX_Shm_Object_read_from_heap (POSIX_Shm_Object *shm_obj, void *buf, size_t count)
 object_read operation for shm objects stored in C program heap.
 
void * _POSIX_Shm_Object_mmap_from_heap (POSIX_Shm_Object *shm_obj, size_t len, int prot, off_t off)
 object_mmap operation for shm objects stored in C program heap.
 

Variables

const POSIX_Shm_Object_operations _POSIX_Shm_Object_operations
 
Objects_Information _POSIX_Shm_Information
 The POSIX Shared Memory objects information.
 

Detailed Description

Internal Support for POSIX Shared Memory.