source: rtems/cpukit/score/cpu/v850/rtems/score/types.h @ b04b76c6

5
Last change on this file since b04b76c6 was b04b76c6, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 7, 2016 at 7:36:48 PM

score: Simplify priority bit map implementation

The priority bit map can deal with a maximum of 256 priority values
ranging from 0 to 255. Consistently use an unsigned int for
computation, due to the usual integer promotion rules.

Make Priority_bit_map_Word definition architecture-independent and
define it to uint16_t. This was already the case for all architectures
except PowerPC. Adjust the PowerPC bitmap support accordingly.

  • Property mode set to 100644
File size: 767 bytes
Line 
1/**
2 * @file
3 *
4 * @brief V850 CPU Type Definitions
5 *
6 * This include file contains type definitions pertaining to the
7 * v850 processor family.
8 */
9
10/*
11 *  COPYRIGHT (c) 1989-2011.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef _RTEMS_SCORE_TYPES_H
20#define _RTEMS_SCORE_TYPES_H
21
22#include <rtems/score/basedefs.h>
23
24#ifndef ASM
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/*
31 *  This section defines the basic types for this processor.
32 */
33
34/** Type that can store a 32-bit integer or a pointer. */
35typedef uintptr_t CPU_Uint32ptr;
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif  /* !ASM */
42
43#endif
Note: See TracBrowser for help on using the repository browser.