RTEMS  5.0.0
smp.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_RTEMS_SMP_H
19 #define _RTEMS_RTEMS_SMP_H
20 
21 #include <stdint.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
50 uint32_t rtems_get_processor_count(void);
51 
69 uint32_t rtems_get_current_processor(void);
70 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif
78 /* end of include file */
uint32_t rtems_get_current_processor(void)
Returns the index of the current processor.
Definition: getcurrentprocessor.c:22
uint32_t rtems_get_processor_count(void)
Returns the count of processors in the system.
Definition: getprocessorcount.c:22