source: rtems/c/src/exec/rtems/optman/no-dpmem.c @ b1b5a7cb

4.104.114.84.95
Last change on this file since b1b5a7cb was 3b76313, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/96 at 21:09:20

modified to generate fatal error when an unconfigured directive is invoked.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*
2 *  Dual Port Memory Manager
3 *
4 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
5 *  On-Line Applications Research Corporation (OAR).
6 *  All rights assigned to U.S. Government, 1994.
7 *
8 *  This material may be reproduced by or for the U.S. Government pursuant
9 *  to the copyright license under the clause at DFARS 252.227-7013.  This
10 *  notice must appear in all copies of this file and its derivatives.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/score/address.h>
17#include <rtems/score/object.h>
18#include <rtems/score/thread.h>
19#include <rtems/score/interr.h>
20
21#include <rtems/rtems/status.h>
22#include <rtems/rtems/types.h>
23#include <rtems/rtems/dpmem.h>
24
25void _Dual_ported_memory_Manager_initialization(
26  unsigned32 maximum_ports
27)
28{
29}
30
31rtems_status_code rtems_port_create(
32  rtems_name    name,
33  void         *internal_start,
34  void         *external_start,
35  unsigned32    length,
36  Objects_Id   *id
37)
38{
39  _Internal_error_Occurred(
40    INTERNAL_ERROR_RTEMS_API,
41    FALSE,
42    RTEMS_NOT_CONFIGURED
43  );
44  return RTEMS_NOT_CONFIGURED;
45}
46
47rtems_status_code rtems_port_ident(
48  rtems_name    name,
49  Objects_Id   *id
50)
51{
52  _Internal_error_Occurred(
53    INTERNAL_ERROR_RTEMS_API,
54    FALSE,
55    RTEMS_NOT_CONFIGURED
56  );
57  return RTEMS_NOT_CONFIGURED;
58}
59
60rtems_status_code rtems_port_delete(
61  Objects_Id id
62)
63{
64  _Internal_error_Occurred(
65    INTERNAL_ERROR_RTEMS_API,
66    FALSE,
67    RTEMS_NOT_CONFIGURED
68  );
69  return RTEMS_NOT_CONFIGURED;
70}
71
72rtems_status_code rtems_port_internal_to_external(
73  Objects_Id   id,
74  void        *internal,
75  void       **external
76)
77{
78  _Internal_error_Occurred(
79    INTERNAL_ERROR_RTEMS_API,
80    FALSE,
81    RTEMS_NOT_CONFIGURED
82  );
83  return RTEMS_NOT_CONFIGURED;
84}
85
86rtems_status_code rtems_port_external_to_internal(
87  Objects_Id   id,
88  void        *external,
89  void       **internal
90)
91{
92  _Internal_error_Occurred(
93    INTERNAL_ERROR_RTEMS_API,
94    FALSE,
95    RTEMS_NOT_CONFIGURED
96  );
97  return RTEMS_NOT_CONFIGURED;
98}
Note: See TracBrowser for help on using the repository browser.