Changeset 3a4ae6c in rtems for cpukit/libmisc/monitor
- Timestamp:
- 09/11/95 19:35:39 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ced11f99
- Parents:
- 5072b07
- Location:
- cpukit/libmisc/monitor
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/monitor/mon-dname.c
r5072b07 r3a4ae6c 58 58 rtems_driver_name_t *np = 0; 59 59 60 for (np = table + n ; n<RTEMS_MAX_DRIVER_NAMES; n++, np++) 60 /* XXX should we be using _IO_Number_of_devices */ 61 for (np = table + n ; n<_IO_Number_of_devices; n++, np++) 61 62 if (np->device_name) 62 63 goto done; -
cpukit/libmisc/monitor/mon-extension.c
r5072b07 r3a4ae6c 23 23 24 24 rtems_monitor_symbol_canonical_by_value(&canonical_extension->create, 25 e-> rtems_task_create);25 e->thread_create); 26 26 27 27 rtems_monitor_symbol_canonical_by_value(&canonical_extension->start, 28 e-> rtems_task_start);28 e->thread_start); 29 29 rtems_monitor_symbol_canonical_by_value(&canonical_extension->restart, 30 e-> rtems_task_restart);30 e->thread_restart); 31 31 rtems_monitor_symbol_canonical_by_value(&canonical_extension->delete, 32 e-> rtems_task_delete);32 e->thread_delete); 33 33 rtems_monitor_symbol_canonical_by_value(&canonical_extension->tswitch, 34 e->t ask_switch);34 e->thread_switch); 35 35 rtems_monitor_symbol_canonical_by_value(&canonical_extension->begin, 36 e->t ask_begin);36 e->thread_begin); 37 37 rtems_monitor_symbol_canonical_by_value(&canonical_extension->exitted, 38 e->t ask_exitted);38 e->thread_exitted); 39 39 rtems_monitor_symbol_canonical_by_value(&canonical_extension->fatal, 40 40 e->fatal); -
cpukit/libmisc/monitor/mon-object.c
r5072b07 r3a4ae6c 93 93 }, 94 94 { RTEMS_OBJECT_DNAME, 95 (void *) &rtems_driver_name_table[0], 95 /* XXX now that the driver name table is allocated from the */ 96 /* XXX Workspace, this does not work */ 97 (void *) 0, 98 /* (void *) _IO_Driver_name_table, */ 96 99 sizeof(rtems_monitor_dname_t), 97 100 (rtems_monitor_object_next_fn) rtems_monitor_dname_next, -
cpukit/libmisc/monitor/mon-server.c
r5072b07 r3a4ae6c 220 220 rtems_status_code status; 221 221 222 if (_ Configuration_Is_multiprocessing()&&222 if (_System_state_Is_multiprocessing && 223 223 (_Configuration_MP_table->maximum_nodes > 1)) 224 224 { -
cpukit/libmisc/monitor/mon-task.c
r5072b07 r3a4ae6c 20 20 { 21 21 Thread_Control *rtems_thread = (Thread_Control *) thread_void; 22 RTEMS_API_Control *api; 23 24 api = rtems_thread->API_Extensions[ THREAD_API_RTEMS ]; 22 25 23 26 canonical_task->entry = rtems_thread->Start.entry_point; … … 28 31 canonical_task->state = rtems_thread->current_state; 29 32 canonical_task->wait_id = rtems_thread->Wait.id; 30 canonical_task->events = rtems_thread->RTEMS_API->pending_events; 31 canonical_task->modes = rtems_thread->current_modes; 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)); 33 canonical_task->events = api->pending_events; 34 35 /* XXX modes and attributes only exist in the RTEMS API .. */ 36 /* XXX not directly in the core thread.. they will have to be derived */ 37 /* XXX if they are important enough to include anymore. */ 38 canonical_task->modes = 0; /* XXX FIX ME.... rtems_thread->current_modes; */ 39 canonical_task->attributes = 0 /* XXX FIX ME rtems_thread->API_Extensions[ THREAD_API_RTEMS ]->attribute_set */; 40 (void) memcpy(canonical_task->notepad, api ->Notepads, sizeof(canonical_task->notepad)); 41 /* XXX more to fix */ 42 /* 34 43 (void) memcpy(&canonical_task->wait_args, &rtems_thread->Wait.Extra, sizeof(canonical_task->wait_args)); 44 */ 35 45 } 36 46
Note: See TracChangeset
for help on using the changeset viewer.