RTEMS: cpukit/include/rtems/rtems/dpmem.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
dpmem.h
Go to the documentation of this file.
1
9/* COPYRIGHT (c) 1989-2008.
10 * On-Line Applications Research Corporation (OAR).
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16
17#ifndef _RTEMS_RTEMS_DPMEM_H
18#define _RTEMS_RTEMS_DPMEM_H
19
20#include <rtems/rtems/types.h>
21#include <rtems/rtems/status.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
57 rtems_status_code rtems_port_create(
58 rtems_name name,
59 void *internal_start,
60 void *external_start,
61 uint32_t length,
62 rtems_id *id
63);
64
77 rtems_status_code rtems_port_ident(
78 rtems_name name,
79 rtems_id *id
80);
81
94 rtems_status_code rtems_port_delete(
95 rtems_id id
96);
97
113 rtems_status_code rtems_port_external_to_internal(
114 rtems_id id,
115 void *external,
116 void **internal
117);
118
135 rtems_status_code rtems_port_internal_to_external(
136 rtems_id id,
137 void *internal,
138 void **external
139);
140
143#ifdef __cplusplus
144}
145#endif
146
147#endif
148/* end of include file */
types.h
rtems_port_internal_to_external
rtems_status_code rtems_port_internal_to_external(rtems_id id, void *internal, void **external)
RTEMS Port Internal to External.
Definition: dpmeminternal2external.c:24
rtems_port_ident
rtems_status_code rtems_port_ident(rtems_name name, rtems_id *id)
RTEMS Port Name to Id.
Definition: dpmemident.c:27
rtems_port_delete
rtems_status_code rtems_port_delete(rtems_id id)
RTEMS Delete Port.
Definition: dpmemdelete.c:23
rtems_port_create
rtems_status_code rtems_port_create(rtems_name name, void *internal_start, void *external_start, uint32_t length, rtems_id *id)
Creates a port into a dual-ported memory area.
Definition: dpmemcreate.c:28
rtems_port_external_to_internal
rtems_status_code rtems_port_external_to_internal(rtems_id id, void *external, void **internal)
RTEMS Port External to Internal.
Definition: dpmemexternal2internal.c:24
rtems_status_code
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_name
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_id
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
status.h