source: rtems/cpukit/score/cpu/no_cpu/rtems/score/types.h @ 30e2df6

4.104.114.95
Last change on this file since 30e2df6 was 30e2df6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/21/08 at 04:10:35

Include stdbool.h. Use bool as base-type for boolean.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[77d3533f]1/**
2 * @file rtems/score/types.h
3 */
4
5/*
[7908ba5b]6 *  This include file contains type definitions pertaining to the Intel
7 *  no_cpu processor family.
8 *
[22b3bed]9 *  COPYRIGHT (c) 1989-2006.
[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
[f226687]14 *  http://www.rtems.com/license/LICENSE.
[7908ba5b]15 *
16 *  $Id$
17 */
18
[7f70d1b7]19#ifndef _RTEMS_SCORE_TYPES_H
20#define _RTEMS_SCORE_TYPES_H
[7908ba5b]21
22#ifndef ASM
23
[30e2df6]24#include <stdbool.h>
[b9b531f]25#include <rtems/stdint.h>
26
[7908ba5b]27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*
32 *  This section defines the basic types for this processor.
33 */
34
[22b3bed]35/** This defines the type for a priority bit map entry. */
[7a3f018]36typedef uint16_t Priority_Bit_map_control;
[7908ba5b]37
[22b3bed]38/** This defines the type for a Boolean value, */
[30e2df6]39typedef bool boolean;     /* Boolean value   */
[7908ba5b]40
[22b3bed]41/** This defines the type for a single precision float. */
42typedef float          single_precision;
43/** This defines the type for a double precision float. */
44typedef double         double_precision;
[7908ba5b]45
[22b3bed]46/** This defines the return type for an ISR entry point. */
[7908ba5b]47typedef void no_cpu_isr;
[22b3bed]48
49/** This defines the prototype for an ISR entry point. */
50typedef no_cpu_isr ( *no_cpu_isr_entry )( void );
[7908ba5b]51
52#ifdef __cplusplus
53}
54#endif
55
56#endif  /* !ASM */
57
58#endif
Note: See TracBrowser for help on using the repository browser.