Ignore:
Timestamp:
07/26/13 12:10:25 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
95519eed
Parents:
ff63d2d
git-author:
Sebastian Huber <sebastian.huber@…> (07/26/13 12:10:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/30/13 07:53:23)
Message:

smp: Add and use _Per_CPU_Get()

Add and use _Per_CPU_Get_by_index() and _Per_CPU_Get_index(). Add
_Per_CPU_Send_interrupt(). This avoids direct access of
_Per_CPU_Information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadcreateidle.c

    rff63d2d rfe52e7c0  
    7474
    7575  for ( processor = 0 ; processor < processor_count ; ++processor ) {
    76     Per_CPU_Control *per_cpu = &_Per_CPU_Information[ processor ];
     76    Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( processor );
    7777
    7878    _Thread_Create_idle_for_cpu( per_cpu );
Note: See TracChangeset for help on using the changeset viewer.