RTEMS 6.1-rc7
Loading...
Searching...
No Matches
mpci.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
13/*
14 * COPYRIGHT (c) 1989-2009.
15 * On-Line Applications Research Corporation (OAR).
16 *
17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions
19 * are met:
20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the
24 * documentation and/or other materials provided with the distribution.
25 *
26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
39#ifndef _RTEMS_SCORE_MPCI_H
40#define _RTEMS_SCORE_MPCI_H
41
42#include <rtems/score/mppkt.h>
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
67#define MPCI_ALL_NODES 0
68
72typedef void MPCI_Entry;
73
79
87 );
88
97 );
98
106 uint32_t,
108 );
109
119 );
120
129typedef struct {
148
149/*
150 * The following records define the Multiprocessor Configuration
151 * Table. This table defines the multiprocessor system
152 * characteristics which must be known by RTEMS in a multiprocessor
153 * system.
154 */
155typedef struct {
157 uint32_t node;
164
171
175
182
188extern char _MPCI_Receive_server_stack[];
189
192#ifdef __cplusplus
193}
194#endif
195
196#endif
197/* end of include file */
void MPCI_Entry
Definition: mpci.h:72
char _MPCI_Receive_server_stack[]
The MPCI receive server stack.
const MPCI_Configuration _MPCI_Configuration
The MPCI configuration.
Definition: mpcidefault.c:54
MPCI_Entry(* MPCI_get_packet_entry)(MP_packet_Prefix **)
Definition: mpci.h:85
MPCI_Entry(* MPCI_return_packet_entry)(MP_packet_Prefix *)
Definition: mpci.h:95
MPCI_Entry(* MPCI_send_entry)(uint32_t, MP_packet_Prefix *)
Definition: mpci.h:105
MPCI_Entry(* MPCI_receive_entry)(MP_packet_Prefix **)
Definition: mpci.h:117
MPCI_Entry(* MPCI_initialization_entry)(void)
Definition: mpci.h:78
This header file provides the interfaces of the Multiprocessing (MP) Packet Handler.
Definition: mpci.h:155
uint32_t node
Definition: mpci.h:157
MPCI_Control * User_mpci_table
Definition: mpci.h:173
uint32_t extra_mpci_receive_server_stack
Definition: mpci.h:170
uint32_t maximum_proxies
Definition: mpci.h:163
uint32_t maximum_nodes
Definition: mpci.h:159
uint32_t maximum_global_objects
Definition: mpci.h:161
Definition: mpci.h:129
MPCI_return_packet_entry return_packet
Definition: mpci.h:142
uint32_t default_timeout
Definition: mpci.h:131
MPCI_receive_entry receive_packet
Definition: mpci.h:146
MPCI_initialization_entry initialization
Definition: mpci.h:138
size_t maximum_packet_size
Definition: mpci.h:136
MPCI_send_entry send_packet
Definition: mpci.h:144
MPCI_get_packet_entry get_packet
Definition: mpci.h:140
Definition: mppkt.h:102