Changeset 039a189d in rtems


Ignore:
Timestamp:
Jan 27, 2014, 7:55:58 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
29cacfd
Parents:
9db8705
git-author:
Jennifer Averett <jennifer.averett@…> (01/27/14 19:55:58)
git-committer:
Jennifer Averett <jennifer.averett@…> (03/07/14 15:09:01)
Message:

sapi: Moved smp initialization and added cpuset initilization.

SMP must be initialized in order to know the current set of
cores available. Without this, you cannot initialize the
default cpu_set_t associated with Classic API tasks and
POSIX threads.

File:
1 edited

Legend:

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

    r9db8705 r039a189d  
    4141#include <rtems/score/apimutex.h>
    4242#include <rtems/score/copyrt.h>
     43#include <rtems/score/cpusetimpl.h>
    4344#include <rtems/score/heap.h>
    4445#include <rtems/score/interr.h>
     
    135136  #endif
    136137
     138  _SMP_Handler_initialize();
     139
     140  _CPU_set_Handler_initialization();
     141
    137142/* MANAGERS */
    138143
     
    146151    _POSIX_API_Initialize();
    147152  #endif
    148 
    149   _SMP_Handler_initialize();
    150153
    151154  _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
Note: See TracChangeset for help on using the changeset viewer.