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 | * |
---|
8 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * All rights assigned to U.S. Government, 1994. |
---|
11 | * |
---|
12 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
13 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
14 | * notice must appear in all copies of this file and its derivatives. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef __RTEMS_RTEMS_GENERIC_h |
---|
20 | #define __RTEMS_RTEMS_GENERIC_h |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | #include <rtems/system.h> |
---|
27 | #include <rtems/init.h> |
---|
28 | #include <rtems/tasks.h> |
---|
29 | #include <rtems/intr.h> |
---|
30 | #include <rtems/clock.h> |
---|
31 | #include <rtems/extension.h> |
---|
32 | #include <rtems/timer.h> |
---|
33 | #include <rtems/sem.h> |
---|
34 | #include <rtems/message.h> |
---|
35 | #include <rtems/event.h> |
---|
36 | #include <rtems/signal.h> |
---|
37 | #include <rtems/event.h> |
---|
38 | #include <rtems/part.h> |
---|
39 | #include <rtems/region.h> |
---|
40 | #include <rtems/dpmem.h> |
---|
41 | #include <rtems/io.h> |
---|
42 | #include <rtems/fatal.h> |
---|
43 | #include <rtems/ratemon.h> |
---|
44 | #include <rtems/mp.h> |
---|
45 | |
---|
46 | /* |
---|
47 | * RTEMS basic type definitions |
---|
48 | */ |
---|
49 | |
---|
50 | typedef unsigned8 rtems_unsigned8; /* unsigned 8-bit value */ |
---|
51 | typedef unsigned16 rtems_unsigned16; /* unsigned 16-bit value */ |
---|
52 | typedef unsigned32 rtems_unsigned32; /* unsigned 32-bit value */ |
---|
53 | typedef unsigned64 rtems_unsigned64; /* unsigned 64-bit value */ |
---|
54 | |
---|
55 | typedef signed8 rtems_signed8; /* signed 8-bit value */ |
---|
56 | typedef signed16 rtems_signed16; /* signed 16-bit value */ |
---|
57 | typedef signed32 rtems_signed32; /* signed 32-bit value */ |
---|
58 | typedef signed64 rtems_signed64; /* signed 64-bit value */ |
---|
59 | |
---|
60 | typedef single_precision rtems_single; /* single precision float */ |
---|
61 | typedef double_precision rtems_double; /* double precision float */ |
---|
62 | |
---|
63 | typedef boolean rtems_boolean; |
---|
64 | |
---|
65 | typedef Objects_Name rtems_name; |
---|
66 | typedef Objects_Id rtems_id; |
---|
67 | |
---|
68 | typedef Context_Control rtems_context; |
---|
69 | typedef Context_Control_fp rtems_context_fp; |
---|
70 | typedef CPU_Interrupt_frame rtems_interrupt_frame; |
---|
71 | |
---|
72 | #define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP |
---|
73 | |
---|
74 | #ifdef __cplusplus |
---|
75 | } |
---|
76 | #endif |
---|
77 | |
---|
78 | #endif |
---|
79 | /* end of include file */ |
---|