OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [rtems/] [optman/] [no-region.c] - Blame information for rev 484

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: no-region.c,v 1.2 2001-09-27 11:59:19 chris Exp $
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
 
24
void _Region_Manager_initialization(
25
  unsigned32 maximum_regions
26
)
27
{
28
}
29
 
30
rtems_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
 
47
rtems_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
 
60
rtems_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
 
72
rtems_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
 
88
rtems_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
 
102
rtems_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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.