source: rtems/cpukit/score/cpu/lm32/rtems/score/types.h @ 6b4d0b8

4.104.115
Last change on this file since 6b4d0b8 was 6b4d0b8, checked in by Joel Sherrill <joel.sherrill@…>, on 12/04/08 at 22:53:15

2008-12-04 Jukka Pietarinen <jukka.pietarinen@…>

  • ChangeLog?, Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/asm.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/lm32.h, rtems/score/types.h: New files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  This include file contains type definitions pertaining to the
7 *  Lattice lm32 processor family.
8 *
9 *  COPYRIGHT (c) 1989-2006.
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
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  $Id$
17 *
18 *  Jukka Pietarinen <jukka.pietarinen@mrf.fi>, 2008,
19 *  Micro-Research Finland Oy
20 */
21
22#ifndef _RTEMS_SCORE_TYPES_H
23#define _RTEMS_SCORE_TYPES_H
24
25#ifndef ASM
26
27#include <stdbool.h>
28#include <rtems/stdint.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*
35 *  This section defines the basic types for this processor.
36 */
37
38/** This defines the type for a priority bit map entry. */
39typedef uint16_t Priority_Bit_map_control;
40
41/** This defines the return type for an ISR entry point. */
42typedef void lm32_isr;
43
44/** This defines the prototype for an ISR entry point. */
45typedef lm32_isr ( *lm32_isr_entry )( void );
46
47#ifdef RTEMS_DEPRECATED_TYPES
48typedef bool    boolean;                /* Boolean value   */
49typedef float   single_precision;       /* single precision float */
50typedef double  double_precision;       /* double precision float */
51#endif
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif  /* !ASM */
58
59#endif
Note: See TracBrowser for help on using the repository browser.