comparison packages/kernel/current/include/kapidata.h @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children c38311975d4f
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 #ifndef CYGONCE_KERNEL_KAPIDATA_H 1 #ifndef CYGONCE_KERNEL_KAPIDATA_H
2 #define CYGONCE_KERNEL_KAPIDATA_H 2 #define CYGONCE_KERNEL_KAPIDATA_H
3 3
4 /*============================================================================= 4 /*=============================================================================
5 // 5 //
6 // kapidata.h 6 // kapidata.h
7 // 7 //
8 // Native API data structures 8 // Native API data structures
9 // 9 //
10 //========================================================================== 10 //==========================================================================
11 //####COPYRIGHTBEGIN#### 11 //####COPYRIGHTBEGIN####
12 // 12 //
13 // ------------------------------------------- 13 // -------------------------------------------
23 // 23 //
24 // The Original Code is eCos - Embedded Cygnus Operating System, released 24 // The Original Code is eCos - Embedded Cygnus Operating System, released
25 // September 30, 1998. 25 // September 30, 1998.
26 // 26 //
27 // The Initial Developer of the Original Code is Cygnus. Portions created 27 // The Initial Developer of the Original Code is Cygnus. Portions created
28 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 28 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
29 // ------------------------------------------- 29 // -------------------------------------------
30 // 30 //
31 //####COPYRIGHTEND#### 31 //####COPYRIGHTEND####
32 //========================================================================== 32 //==========================================================================
33 //#####DESCRIPTIONBEGIN#### 33 //#####DESCRIPTIONBEGIN####
34 // 34 //
35 // Author(s): nickg 35 // Author(s): nickg
36 // Contributors: nickg 36 // Contributors: nickg
37 // Date: 1998-03-13 37 // Date: 1998-03-13
38 // Purpose: Native API data structures 38 // Purpose: Native API data structures
39 // Description: This file defines the structures used in the native API. The 39 // Description: This file defines the structures used in the native API. The
40 // sizes of these structures are dependent on the system 40 // sizes of these structures are dependent on the system
41 // configuration and must be kept in step with their real 41 // configuration and must be kept in step with their real
42 // counterparts in the C++ headers. 42 // counterparts in the C++ headers.
43 // Usage: included by kapi.h 43 // Usage: included by kapi.h
44 // 44 //
45 //####DESCRIPTIONEND#### 45 //####DESCRIPTIONEND####
46 // 46 //
47 //==========================================================================*/ 47 //==========================================================================*/
48 48
161 161
162 #ifdef CYGPKG_KERNEL_EXCEPTIONS 162 #ifdef CYGPKG_KERNEL_EXCEPTIONS
163 typedef struct 163 typedef struct
164 { 164 {
165 #ifdef CYGSEM_KERNEL_EXCEPTIONS_DECODE 165 #ifdef CYGSEM_KERNEL_EXCEPTIONS_DECODE
166 cyg_exception_handler_t *exception_handler[CYG_EXCEPTION_COUNT]; 166 cyg_exception_handler_t *exception_handler[CYGNUM_HAL_EXCEPTION_COUNT];
167 167
168 CYG_ADDRWORD exception_data[CYG_EXCEPTION_COUNT]; 168 CYG_ADDRWORD exception_data[CYGNUM_HAL_EXCEPTION_COUNT];
169 #else 169 #else
170 cyg_exception_handler_t *exception_handler; // Handler function 170 cyg_exception_handler_t *exception_handler; // Handler function
171 171
172 CYG_ADDRWORD exception_data; // Handler data 172 CYG_ADDRWORD exception_data; // Handler data
173 #endif 173 #endif
298 cyg_count32 count; /* count of used slots */ 298 cyg_count32 count; /* count of used slots */
299 cyg_threadqueue get_threadq; /* Queue of waiting threads */ 299 cyg_threadqueue get_threadq; /* Queue of waiting threads */
300 #ifdef CYGMFN_KERNEL_SYNCH_MBOXT_PUT_CAN_WAIT 300 #ifdef CYGMFN_KERNEL_SYNCH_MBOXT_PUT_CAN_WAIT
301 cyg_threadqueue put_threadq; /* Queue of waiting threads */ 301 cyg_threadqueue put_threadq; /* Queue of waiting threads */
302 #endif 302 #endif
303 void * itemqueue[ CYGNUM_KERNEL_SYNCH_MBOX_QUEUE_SIZE ]; 303 void * itemqueue[ CYGNUM_KERNEL_SYNCH_MBOX_QUEUE_SIZE ];
304 }; 304 };
305 305
306 /*---------------------------------------------------------------------------*/ 306 /*---------------------------------------------------------------------------*/
307 307
308 struct cyg_sem_t 308 struct cyg_sem_t