source: rtems/cpukit/score/cpu/sh/rtems/score/types.h @ 18e29faf

5
Last change on this file since 18e29faf was 46d3c6d8, checked in by Gedare Bloom <gedare@…>, on 03/16/15 at 20:15:55

cpukit: add and use CPU_Uint32ptr type

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file
3 *
4 * @brief Hitachi SH CPU Type Definitions
5 *
6 * This include file contains information pertaining to the Hitachi SH
7 * processor.
8 */
9
10/*
11 *  Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
12 *           Bernd Becker (becker@faw.uni-ulm.de)
13 *
14 *  COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
15 *
16 *  This program is distributed in the hope that it will be useful,
17 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 *
21 *  COPYRIGHT (c) 1998-2001.
22 *  On-Line Applications Research Corporation (OAR).
23 *
24 *  The license and distribution terms for this file may be
25 *  found in the file LICENSE in this distribution or at
26 *  http://www.rtems.org/license/LICENSE.
27 */
28
29#ifndef _RTEMS_SCORE_TYPES_H
30#define _RTEMS_SCORE_TYPES_H
31
32#include <rtems/score/basedefs.h>
33
34#ifndef ASM
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40/*
41 *  This section defines the basic types for this processor.
42 */
43
44/** Type that can store a 32-bit integer or a pointer. */
45typedef uintptr_t CPU_Uint32ptr;
46
47typedef uint16_t     Priority_bit_map_Word;
48
49typedef void sh_isr;
50typedef void ( *sh_isr_entry )( void );
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif  /* !ASM */
57
58#endif
Note: See TracBrowser for help on using the repository browser.