source:
rtems/cpukit/score/cpu/mips/rtems/score/types.h
@
30e2df6
Last change on this file since 30e2df6 was 30e2df6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/21/08 at 04:10:35 | |
---|---|
|
|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[3c64bac] | 1 | /** |
2 | * @file rtems/score/types.h | |
3 | */ | |
4 | ||
5 | /* | |
[aa7f8a1f] | 6 | * This include file contains type definitions pertaining to the MIPS |
[7908ba5b] | 7 | * processor family. |
8 | * | |
[aa7f8a1f] | 9 | * COPYRIGHT (c) 1989-2001. |
[7908ba5b] | 10 | * On-Line Applications Research Corporation (OAR). |
11 | * | |
12 | * The license and distribution terms for this file may be | |
13 | * found in the file LICENSE in this distribution or at | |
[5356c03] | 14 | * http://www.rtems.com/license/LICENSE. |
[7908ba5b] | 15 | * |
16 | * $Id$ | |
17 | */ | |
18 | /* @(#)mipstypes.h 08/20/96 1.4 */ | |
19 | ||
[7f70d1b7] | 20 | #ifndef _RTEMS_SCORE_TYPES_H |
21 | #define _RTEMS_SCORE_TYPES_H | |
[7908ba5b] | 22 | |
23 | #ifndef ASM | |
24 | ||
[30e2df6] | 25 | #include <stdbool.h> |
[b9b531f] | 26 | #include <rtems/stdint.h> |
27 | ||
[7908ba5b] | 28 | #ifdef __cplusplus |
29 | extern "C" { | |
30 | #endif | |
31 | ||
32 | /* | |
33 | * This section defines the basic types for this processor. | |
34 | */ | |
35 | ||
[7a3f018] | 36 | typedef uint16_t Priority_Bit_map_control; |
[7908ba5b] | 37 | |
[30e2df6] | 38 | typedef bool boolean; /* Boolean value */ |
[7908ba5b] | 39 | |
40 | typedef float single_precision; /* single precision float */ | |
41 | typedef double double_precision; /* double precision float */ | |
42 | ||
43 | typedef void mips_isr; | |
44 | typedef void ( *mips_isr_entry )( void ); | |
45 | ||
46 | #ifdef __cplusplus | |
47 | } | |
48 | #endif | |
49 | ||
50 | #endif /* !ASM */ | |
51 | ||
52 | #endif |
Note: See TracBrowser
for help on using the repository browser.