source: rtems/c/src/optman/rtems/no-region.c @ c8f3e82

Last change on this file since c8f3e82 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/*
2 *  Region Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/rtems/status.h>
17#include <rtems/score/object.h>
18#include <rtems/rtems/options.h>
19#include <rtems/rtems/region.h>
20#include <rtems/score/states.h>
21#include <rtems/score/thread.h>
22#include <rtems/score/interr.h>
23
24void _Region_Manager_initialization(
25  unsigned32 maximum_regions
26)
27{
28}
29
30rtems_status_code rtems_region_create(
31  rtems_name          name,
32  void               *starting_address,
33  unsigned32          length,
34  unsigned32          page_size,
35  rtems_attribute  attribute_set,
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_region_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_region_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_region_get_segment(
73  Objects_Id         id,
74  unsigned32         size,
75  rtems_option    option_set,
76  rtems_interval  timeout,
77  void              **segment
78)
79{
80  _Internal_error_Occurred(
81    INTERNAL_ERROR_RTEMS_API,
82    FALSE,
83    RTEMS_NOT_CONFIGURED
84  );
85  return RTEMS_NOT_CONFIGURED;
86}
87
88rtems_status_code rtems_region_get_segment_size(
89  Objects_Id         id,
90  void              *segment,
91  unsigned32        *size
92)
93{
94  _Internal_error_Occurred(
95    INTERNAL_ERROR_RTEMS_API,
96    FALSE,
97    RTEMS_NOT_CONFIGURED
98  );
99  return RTEMS_NOT_CONFIGURED;
100}
101
102rtems_status_code rtems_region_return_segment(
103  Objects_Id  id,
104  void       *segment
105)
106{
107  _Internal_error_Occurred(
108    INTERNAL_ERROR_RTEMS_API,
109    FALSE,
110    RTEMS_NOT_CONFIGURED
111  );
112  return RTEMS_NOT_CONFIGURED;
113}
Note: See TracBrowser for help on using the repository browser.