source: rtems/cpukit/sapi/include/rtems/sptables.h @ 976162a6

4.104.114.95
Last change on this file since 976162a6 was 976162a6, checked in by Joel Sherrill <joel.sherrill@…>, on 12/03/07 at 22:23:13

2007-12-03 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/malloc.c, libmisc/monitor/mon-command.c, posix/preinstall.am, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c, posix/src/mutexdestroy.c, posix/src/mutexinit.c, posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/include/rtems/sptables.h, sapi/src/exinit.c, score/include/rtems/system.h, score/include/rtems/score/mpci.h, score/src/mpci.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[b96254f]1/**
2 * @file rtems/sptables.h
[d2c26e4b]3 *
4 *  This include file contains the executive's pre-initialized tables
5 *  used when in a single processor configuration.
[b96254f]6 */
7 
8/*
[d2c26e4b]9 *  COPYRIGHT (c) 1989-1999.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
[2ba508b]14 *  http://www.rtems.com/license/LICENSE.
[d2c26e4b]15 *
16 *  $Id$
17 */
18
[092f142a]19#ifndef _RTEMS_SPTABLES_H
20#define _RTEMS_SPTABLES_H
[d2c26e4b]21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <rtems/config.h>
27
28#include <rtems/debug.h>
29#include <rtems/fatal.h>
30#include <rtems/init.h>
31#include <rtems/io.h>
32#include <rtems/score/sysstate.h>
33
34#include <rtems/rtems/intr.h>
35#include <rtems/rtems/clock.h>
36#include <rtems/rtems/tasks.h>
37#include <rtems/rtems/dpmem.h>
38#include <rtems/rtems/event.h>
39#include <rtems/rtems/message.h>
40#if defined(RTEMS_MULTIPROCESSING)
41#include <rtems/rtems/mp.h>
42#endif
43#include <rtems/rtems/part.h>
44#include <rtems/rtems/ratemon.h>
45#include <rtems/rtems/region.h>
46#include <rtems/rtems/sem.h>
47#include <rtems/rtems/signal.h>
48#include <rtems/rtems/timer.h>
49
[976162a6]50#if defined(RTEMS_MULTIPROCESSING)
[d2c26e4b]51/*
52 *  This is the default Multiprocessing Configuration Table.
53 *  It is used in single processor configurations.
54 */
[976162a6]55  #if defined(SAPI_INIT)
56    const rtems_multiprocessing_table
57           _Initialization_Default_multiprocessing_table = {
58      1,                      /* local node number */
59      1,                      /* maximum number nodes in system */
60      0,                      /* maximum number global objects */
61      0,                      /* maximum number proxies */
62      NULL,                   /* pointer to MPCI address table */
63    };
64  #else
65    extern const rtems_multiprocessing_table
66           _Initialization_Default_multiprocessing_table;
67  #endif
[d2c26e4b]68#endif
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif
Note: See TracBrowser for help on using the repository browser.