source: rtems/c/src/exec/rtems/optman/no-part.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 *  Partition Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  $Id$
14 */
15
16#include <rtems/system.h>
17#include <rtems/rtems/status.h>
18#include <rtems/score/address.h>
19#include <rtems/score/object.h>
20#include <rtems/rtems/part.h>
21#include <rtems/score/thread.h>
22#include <rtems/score/interr.h>
23
24void _Partition_Manager_initialization(
25  unsigned32 maximum_partitions
26)
27{
28}
29
30rtems_status_code rtems_partition_create(
31  rtems_name          name,
32  void               *starting_address,
33  unsigned32          length,
34  unsigned32          buffer_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_partition_ident(
48  rtems_name    name,
49  unsigned32    node,
50  Objects_Id   *id
51)
52{
53  _Internal_error_Occurred(
54    INTERNAL_ERROR_RTEMS_API,
55    FALSE,
56    RTEMS_NOT_CONFIGURED
57  );
58  return RTEMS_NOT_CONFIGURED;
59}
60
61rtems_status_code rtems_partition_delete(
62  Objects_Id id
63)
64{
65  _Internal_error_Occurred(
66    INTERNAL_ERROR_RTEMS_API,
67    FALSE,
68    RTEMS_NOT_CONFIGURED
69  );
70  return RTEMS_NOT_CONFIGURED;
71}
72
73rtems_status_code rtems_partition_get_buffer(
74  Objects_Id   id,
75  void       **buffer
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_partition_return_buffer(
87  Objects_Id  id,
88  void       *buffer
89)
90{
91  _Internal_error_Occurred(
92    INTERNAL_ERROR_RTEMS_API,
93    FALSE,
94    RTEMS_NOT_CONFIGURED
95  );
96  return RTEMS_NOT_CONFIGURED;
97}
Note: See TracBrowser for help on using the repository browser.