source: rtems/c/src/exec/rtems/include/rtems.h @ cf1f72e

4.104.114.84.95
Last change on this file since cf1f72e was cf1f72e, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/00 at 21:53:38

Moved i386 and m68k cache management code to libcpu. Everything
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[ac7d5ef0]1/*  rtems.h
2 *
3 *  This include file contains information about RTEMS executive that
4 *  is required by the application and is CPU independent.  It includes
5 *  two (2) CPU dependent files to tailor its data structures for a
6 *  particular processor.
7 *
[08311cc3]8 *  COPYRIGHT (c) 1989-1999.
[ac7d5ef0]9 *  On-Line Applications Research Corporation (OAR).
10 *
[98e4ebf5]11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
[03f2154e]13 *  http://www.OARcorp.com/rtems/license.html.
[ac7d5ef0]14 *
15 *  $Id$
16 */
17
18#ifndef __RTEMS_RTEMS_GENERIC_h
19#define __RTEMS_RTEMS_GENERIC_h
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
[1a8fde6c]25/*
26 *  Unless told otherwise, the RTEMS include files will hide some stuff
27 *  from normal application code.  Defining this crosses a boundary which
28 *  is undesirable since it means your application is using RTEMS features
29 *  which are not included in the formally defined and supported API. 
30 *  Define this at your own risk.
31 */
32
[ff0b008]33#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
[1a8fde6c]34#define __RTEMS_APPLICATION__
35#endif
36
[ac7d5ef0]37#include <rtems/system.h>
[3a4ae6c]38#include <rtems/rtems/status.h>
39#include <rtems/rtems/types.h>
[3235ad9]40
[3a4ae6c]41#include <rtems/config.h>
[ac7d5ef0]42#include <rtems/init.h>
[3a4ae6c]43#include <rtems/rtems/tasks.h>
44#include <rtems/rtems/intr.h>
[cf1f72e]45#include <rtems/rtems/cache.h>
[3a4ae6c]46#include <rtems/rtems/clock.h>
[ac7d5ef0]47#include <rtems/extension.h>
[3a4ae6c]48#include <rtems/rtems/timer.h>
49#include <rtems/rtems/sem.h>
50#include <rtems/rtems/message.h>
51#include <rtems/rtems/event.h>
52#include <rtems/rtems/signal.h>
53#include <rtems/rtems/event.h>
54#include <rtems/rtems/part.h>
55#include <rtems/rtems/region.h>
56#include <rtems/rtems/dpmem.h>
[ac7d5ef0]57#include <rtems/io.h>
58#include <rtems/fatal.h>
[3a4ae6c]59#include <rtems/rtems/ratemon.h>
[97e2729d]60#if defined(RTEMS_MULTIPROCESSING)
[3a4ae6c]61#include <rtems/rtems/mp.h>
[97e2729d]62#endif
[ac7d5ef0]63
[3a4ae6c]64#include <rtems/rtems/support.h>
[5e9b32b]65#include <rtems/score/sysstate.h>
[ac7d5ef0]66
67#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
68
[3a4ae6c]69/*
70 *  The following define the constants which may be used in name searches.
71 */
72 
73#define RTEMS_SEARCH_ALL_NODES   OBJECTS_SEARCH_ALL_NODES
74#define RTEMS_SEARCH_OTHER_NODES OBJECTS_SEARCH_OTHER_NODES
75#define RTEMS_SEARCH_LOCAL_NODE  OBJECTS_SEARCH_LOCAL_NODE
76#define RTEMS_WHO_AM_I           OBJECTS_WHO_AM_I
77 
78/*
79 * Parameters and return id's for _Objects_Get_next
80 */
81 
[5d3e539]82#define RTEMS_OBJECT_ID_INITIAL_INDEX        OBJECTS_ID_INITIAL_INDEX
83#define RTEMS_OBJECT_ID_FINAL_INDEX          OBJECTS_ID_FINAL_INDEX
[3a4ae6c]84 
[5d3e539]85#define RTEMS_OBJECT_ID_INITIAL(class, node) OBJECTS_ID_INITIAL(class, node)
86#define RTEMS_OBJECT_ID_FINAL                OBJECTS_ID_FINAL
[3a4ae6c]87 
88/*
89 *  The following constant defines the minimum stack size which every
90 *  thread must exceed.
91 */
92
93#define RTEMS_MINIMUM_STACK_SIZE  STACK_MINIMUM_SIZE
94
95/*
96 *  Constant for indefinite wait.  (actually an illegal interval)
97 */
98
99#define RTEMS_NO_TIMEOUT  WATCHDOG_NO_TIMEOUT
100
101/*
102 *  An MPCI must support packets of at least this size.
103 */
104 
105#define RTEMS_MINIMUM_PACKET_SIZE  MP_PACKET_MINIMUM_PACKET_SIZE
106 
107/*
108 *  The following constant defines the number of unsigned32's
109 *  in a packet which must be converted to native format in a
110 *  heterogeneous system.  In packets longer than
111 *  MP_PACKET_MINIMUN_HETERO_CONVERSION unsigned32's, some of the "extra" data
112 *  may a user message buffer which is not automatically endian swapped.
113 */
114 
115#define RTEMS_MINIMUN_HETERO_CONVERSION  MP_PACKET_MINIMUN_HETERO_CONVERSION
116
[ac7d5ef0]117#ifdef __cplusplus
118}
119#endif
120
121#endif
122/* end of include file */
Note: See TracBrowser for help on using the repository browser.