RTEMS  5.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
irq.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2012.
11  * Aeroflex Gaisler AB.
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 LIBBSP_ERC32_IRQ_CONFIG_H
19 #define LIBBSP_ERC32_IRQ_CONFIG_H
20 
22 
23 #define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */
24 #define BSP_INTERRUPT_VECTOR_MIN 0
25 #define BSP_INTERRUPT_VECTOR_MAX BSP_INTERRUPT_VECTOR_MAX_STD
26 
27 /* No extra check is needed */
28 #undef BSP_INTERRUPT_CUSTOM_VALID_VECTOR
29 
30 RTEMS_INLINE_ROUTINE void bsp_interrupt_set_affinity(
31  rtems_vector_number vector,
32  const Processor_mask *affinity
33 )
34 {
35  (void) vector;
36  (void) affinity;
37 }
38 
39 RTEMS_INLINE_ROUTINE void bsp_interrupt_get_affinity(
40  rtems_vector_number vector,
41  Processor_mask *affinity
42 )
43 {
44  (void) vector;
45  _Processor_mask_From_index( affinity, 0 );
46 }
47 
48 #endif /* LIBBSP_ERC32_IRQ_CONFIG_H */
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
RTEMS_INLINE_ROUTINE void _Processor_mask_From_index(Processor_mask *mask, uint32_t index)
Creates a processor set from the specified index.
Definition: processormask.h:225
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
Processor Mask API.