Ignore:
Timestamp:
Dec 3, 2007, 10:23:13 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2f1d801
Parents:
3e066540
Message:

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.
File:
1 edited

Legend:

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

    r3e066540 r976162a6  
    3030#include <rtems/score/userext.h>
    3131#include <rtems/score/wkspace.h>
     32#include <rtems/config.h>
    3233
    3334/*
     
    5455     */
    5556
    56     if ( _CPU_Table.stack_free_hook )
    57         (*_CPU_Table.stack_free_hook)( the_thread->Start.Initial_stack.area );
     57    if ( _Configuration_Table->stack_free_hook )
     58      (*_Configuration_Table->stack_free_hook)(
     59        the_thread->Start.Initial_stack.area
     60      );
    5861    else
    5962        _Workspace_Free( the_thread->Start.Initial_stack.area );
Note: See TracChangeset for help on using the changeset viewer.