4.115
Last change
on this file since 4bafde5 was
4bafde5,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/21/11 at 22:12:10
|
2011-06-21 Joel Sherrill <joel.sherrill@…>
- rtems/score/cpu.h, rtems/score/sparc.h, rtems/score/types.h: Convert
comments to Doxygen style and improve.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/score/types.h |
---|
3 | * |
---|
4 | * This include file contains type definitions pertaining to the |
---|
5 | * SPARC processor family. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2011. |
---|
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 | |
---|
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 |
---|
27 | extern "C" { |
---|
28 | #endif |
---|
29 | |
---|
30 | /** |
---|
31 | * @brief Priority Bit Map Type |
---|
32 | * |
---|
33 | * On the SPARC, there is no bitscan instruction and no penalty associated |
---|
34 | * for using 16-bit variables. With no overriding architectural factors, |
---|
35 | * just using a uint16_t. |
---|
36 | */ |
---|
37 | typedef uint16_t Priority_bit_map_Control; |
---|
38 | |
---|
39 | /** |
---|
40 | * @brief SPARC ISR Handler Return Type |
---|
41 | * |
---|
42 | * This is the type which SPARC ISR Handlers return. |
---|
43 | */ |
---|
44 | typedef void sparc_isr; |
---|
45 | |
---|
46 | /** |
---|
47 | * @brief SPARC ISR Handler Prototype |
---|
48 | * |
---|
49 | * This is the prototype for SPARC ISR Handlers. |
---|
50 | */ |
---|
51 | typedef void ( *sparc_isr_entry )( void ); |
---|
52 | |
---|
53 | #ifdef __cplusplus |
---|
54 | } |
---|
55 | #endif |
---|
56 | |
---|
57 | #endif /* !ASM */ |
---|
58 | |
---|
59 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.