36#ifndef _RTEMS_CONFDEFS_MPCI_H
37#define _RTEMS_CONFDEFS_MPCI_H
39#ifndef __CONFIGURATION_TEMPLATE_h
40#error "Do not include this file directly, use <rtems/confdefs.h> instead"
45#ifdef RTEMS_MULTIPROCESSING
47#ifdef CONFIGURE_MP_APPLICATION
51#ifndef CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
52 #define CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK 0
55#ifndef CONFIGURE_MP_NODE_NUMBER
56 #define CONFIGURE_MP_NODE_NUMBER NODE_NUMBER
59#ifndef CONFIGURE_MP_MAXIMUM_NODES
60 #define CONFIGURE_MP_MAXIMUM_NODES 2
63#ifndef CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
64 #define CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS 32
67#ifndef CONFIGURE_MP_MAXIMUM_PROXIES
68 #define CONFIGURE_MP_MAXIMUM_PROXIES 32
71#ifndef CONFIGURE_MP_MPCI_TABLE_POINTER
74 #define CONFIGURE_MP_MPCI_TABLE_POINTER &MPCI_table
77#if CONFIGURE_MP_NODE_NUMBER < 1
78 #error "CONFIGURE_MP_NODE_NUMBER must be greater than or equal to one"
81#if CONFIGURE_MP_NODE_NUMBER > CONFIGURE_MP_MAXIMUM_NODES
82 #error "CONFIGURE_MP_NODE_NUMBER must be less than or equal to CONFIGURE_MP_MAXIMUM_NODES"
89Objects_MP_Control _Objects_MP_Controls[
90 CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
93struct Thread_Configured_proxy_control {
98static Thread_Configured_proxy_control _Thread_MP_Configured_proxies[
99 CONFIGURE_MP_MAXIMUM_PROXIES
102Thread_Configured_proxy_control *
const _Thread_MP_Proxies =
103 &_Thread_MP_Configured_proxies[ 0 ];
106 CONFIGURE_MP_NODE_NUMBER,
107 CONFIGURE_MP_MAXIMUM_NODES,
108 CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS,
109 CONFIGURE_MP_MAXIMUM_PROXIES,
110 CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK,
111 CONFIGURE_MP_MPCI_TABLE_POINTER
115 CONFIGURE_MINIMUM_TASK_STACK_SIZE
116 + CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
117 + CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK
130#ifdef CONFIGURE_MP_APPLICATION
131 #error "CONFIGURE_MP_APPLICATION must not be defined if multiprocessing is disabled"
#define RTEMS_SECTION(_section)
Instructs the compiler to place a specific variable or function in the specified section.
Definition: basedefs.h:154
#define RTEMS_ALIGNED(_alignment)
Instructs the compiler to enforce the specified alignment.
Definition: basedefs.h:216
#define CONTEXT_FP_SIZE
Size of floating point context area.
Definition: context.h:52
char _MPCI_Receive_server_stack[]
The MPCI receive server stack.
const MPCI_Configuration _MPCI_Configuration
The MPCI configuration.
Definition: mpcidefault.c:32
#define CPU_INTERRUPT_STACK_ALIGNMENT
Definition: cpu.h:605
Thread queue heads.
Definition: threadq.h:360
Evaluate Thread Configuration Options.