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

4.104.114.84.95
Last change on this file since 9eef52b was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[ac7d5ef0]1/*
2 *  Region Manager
3 *
4 *
[60b791ad]5 *  COPYRIGHT (c) 1989-1998.
[ac7d5ef0]6 *  On-Line Applications Research Corporation (OAR).
[03f2154e]7 *  Copyright assigned to U.S. Government, 1994.
[ac7d5ef0]8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[03f2154e]11 *  http://www.OARcorp.com/rtems/license.html.
[ac7d5ef0]12 *
13 *  $Id$
14 */
15
16#include <rtems/system.h>
[3a4ae6c]17#include <rtems/rtems/status.h>
[5e9b32b]18#include <rtems/score/object.h>
[3a4ae6c]19#include <rtems/rtems/options.h>
20#include <rtems/rtems/region.h>
[5e9b32b]21#include <rtems/score/states.h>
22#include <rtems/score/thread.h>
[3b76313]23#include <rtems/score/interr.h>
[ac7d5ef0]24
25void _Region_Manager_initialization(
26  unsigned32 maximum_regions
27)
28{
29}
30
31rtems_status_code rtems_region_create(
[3235ad9]32  rtems_name          name,
[ac7d5ef0]33  void               *starting_address,
34  unsigned32          length,
35  unsigned32          page_size,
36  rtems_attribute  attribute_set,
37  Objects_Id         *id
38)
39{
[3b76313]40  _Internal_error_Occurred(
41    INTERNAL_ERROR_RTEMS_API,
42    FALSE,
43    RTEMS_NOT_CONFIGURED
44  );
[3a4ae6c]45  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]46}
47
48rtems_status_code rtems_region_ident(
[3235ad9]49  rtems_name    name,
[ac7d5ef0]50  Objects_Id   *id
51)
52{
[3b76313]53  _Internal_error_Occurred(
54    INTERNAL_ERROR_RTEMS_API,
55    FALSE,
56    RTEMS_NOT_CONFIGURED
57  );
[3a4ae6c]58  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]59}
60
61rtems_status_code rtems_region_delete(
62  Objects_Id id
63)
64{
[3b76313]65  _Internal_error_Occurred(
66    INTERNAL_ERROR_RTEMS_API,
67    FALSE,
68    RTEMS_NOT_CONFIGURED
69  );
[3a4ae6c]70  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]71}
72
73rtems_status_code rtems_region_get_segment(
74  Objects_Id         id,
75  unsigned32         size,
76  rtems_option    option_set,
77  rtems_interval  timeout,
78  void              **segment
79)
80{
[3b76313]81  _Internal_error_Occurred(
82    INTERNAL_ERROR_RTEMS_API,
83    FALSE,
84    RTEMS_NOT_CONFIGURED
85  );
[3a4ae6c]86  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]87}
88
89rtems_status_code rtems_region_get_segment_size(
90  Objects_Id         id,
91  void              *segment,
92  unsigned32        *size
93)
94{
[3b76313]95  _Internal_error_Occurred(
96    INTERNAL_ERROR_RTEMS_API,
97    FALSE,
98    RTEMS_NOT_CONFIGURED
99  );
[3a4ae6c]100  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]101}
102
103rtems_status_code rtems_region_return_segment(
104  Objects_Id  id,
105  void       *segment
106)
107{
[3b76313]108  _Internal_error_Occurred(
109    INTERNAL_ERROR_RTEMS_API,
110    FALSE,
111    RTEMS_NOT_CONFIGURED
112  );
[3a4ae6c]113  return RTEMS_NOT_CONFIGURED;
[ac7d5ef0]114}
Note: See TracBrowser for help on using the repository browser.