Changeset 97e2729d in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
Nov 23, 1998, 5:38:09 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6e46f4e1
Parents:
967f3aaa
Message:

Added --disable-multiprocessing flag and modified a lot of files to make
it work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exinit.c

    r967f3aaa r97e2729d  
    3535#include <rtems/score/interr.h>
    3636#include <rtems/score/isr.h>
     37#if defined(RTEMS_MULTIPROCESSING)
    3738#include <rtems/score/mpci.h>
     39#endif
    3840#include <rtems/score/priority.h>
    3941#include <rtems/score/thread.h>
     
    108110   */
    109111
     112#if defined(RTEMS_MULTIPROCESSING)
    110113  multiprocessing_table = configuration_table->User_multiprocessing_table;
    111114
     
    113116    (multiprocessing_table) ? TRUE : FALSE
    114117  );
     118#else
     119  multiprocessing_table = NULL;
     120
     121  _System_state_Handler_initialization( FALSE );
     122
     123#endif
    115124
    116125  /*
     
    180189  );
    181190
     191#if defined(RTEMS_MULTIPROCESSING)
    182192  _MPCI_Handler_initialization(
    183193    multiprocessing_table->User_mpci_table,
    184194    RTEMS_TIMEOUT
    185195  );
     196#endif
    186197
    187198/* MANAGERS */
     
    216227  _Thread_Create_idle();
    217228
     229#if defined(RTEMS_MULTIPROCESSING)
    218230  _MPCI_Create_server();
     231#endif
    219232
    220233  /*
     
    235248  _IO_Initialize_all_drivers();
    236249 
     250#if defined(RTEMS_MULTIPROCESSING)
    237251  if ( _System_state_Is_multiprocessing ) {
    238252    _MPCI_Initialization();
     
    241255    );
    242256  }
     257#endif
    243258 
    244259  /*
Note: See TracChangeset for help on using the changeset viewer.