Changeset 7f6a24ab in rtems for cpukit/libmisc


Ignore:
Timestamp:
Aug 28, 1995, 3:30:29 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5072b07
Parents:
5250ff39
Message:

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

Location:
cpukit/libmisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-task.c

    r5250ff39 r7f6a24ab  
    2222   
    2323    canonical_task->entry = rtems_thread->Start.entry_point;
    24     canonical_task->argument = rtems_thread->Start.initial_argument;
     24    canonical_task->argument = rtems_thread->Start.numeric_argument;
    2525    canonical_task->stack = rtems_thread->Start.Initial_stack.area;
    2626    canonical_task->stack_size = rtems_thread->Start.Initial_stack.size;
     
    2828    canonical_task->state = rtems_thread->current_state;
    2929    canonical_task->wait_id = rtems_thread->Wait.id;
    30     canonical_task->events = rtems_thread->pending_events;
     30    canonical_task->events = rtems_thread->RTEMS_API->pending_events;
    3131    canonical_task->modes = rtems_thread->current_modes;
    32     canonical_task->attributes = rtems_thread->attribute_set;
    33     (void) memcpy(canonical_task->notepad, rtems_thread->Notepads, sizeof(canonical_task->notepad));
     32    canonical_task->attributes = 0 /* XXX FIX ME rtems_thread->RTEMS_API->attribute_set */;
     33    (void) memcpy(canonical_task->notepad, rtems_thread->RTEMS_API->Notepads, sizeof(canonical_task->notepad));
    3434    (void) memcpy(&canonical_task->wait_args, &rtems_thread->Wait.Extra, sizeof(canonical_task->wait_args));
    3535}
  • cpukit/libmisc/stackchk/check.c

    r5250ff39 r7f6a24ab  
    434434    information = _Objects_Information_table[ class_index ];
    435435    if ( information && information->is_thread ) {
    436       for ( i=1 ; i < information->maximum ; i++ ) {
     436      for ( i=1 ; i <= information->maximum ; i++ ) {
    437437        the_thread = (Thread_Control *)information->local_table[ i ];
    438438        Stack_check_Dump_threads_usage( the_thread );
Note: See TracChangeset for help on using the changeset viewer.