Changeset 7f6a24ab in rtems for c/src/libmisc/monitor


Ignore:
Timestamp:
Aug 28, 1995, 3:30:29 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/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}
Note: See TracChangeset for help on using the changeset viewer.