Changeset 3e08d4e in rtems
- Timestamp:
- 03/26/04 06:59:18 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e63a784c
- Parents:
- c9160531
- Location:
- cpukit
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rc9160531 r3e08d4e 1 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * libmisc/capture/capture-cli.c, libmisc/capture/capture.c, 4 libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c, 5 libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h, 6 libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c, 7 libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c, 8 libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, 9 libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, 10 libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, 11 libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c, 12 libmisc/monitor/monitor.h, libmisc/monitor/symbols.h, 13 libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c, 14 libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c, 15 libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h, 16 libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c, 17 libmisc/stackchk/internal.h: Convert to using c99 fixed size types. 18 1 19 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2 20 -
cpukit/libmisc/capture/capture-cli.c
rc9160531 r3e08d4e 69 69 boolean verbose ) 70 70 { 71 rtems_unsigned32size = 0;71 uint32_t size = 0; 72 72 rtems_boolean enable = 0; 73 73 rtems_status_code sc; … … 231 231 rtems_task_priority floor = rtems_capture_watch_get_floor (); 232 232 rtems_capture_task_t* task = rtems_capture_get_task_list (); 233 rtems_unsigned32ticks;234 rtems_unsigned32tick_offset;233 uint32_t ticks; 234 uint32_t tick_offset; 235 235 unsigned long long total_time; 236 236 int count = rtems_capture_task_count (); … … 607 607 rtems_id* id) 608 608 { 609 u nsigned32objclass;609 uint32_t objclass; 610 610 int l; 611 611 int i; … … 1167 1167 int total; 1168 1168 int count; 1169 rtems_unsigned32read;1169 uint32_t read; 1170 1170 rtems_capture_record_t* rec; 1171 1171 int arg; … … 1225 1225 if (csv) 1226 1226 printf ("%08x,%03d,%03d,%04x,%d,%d\n", 1227 ( rtems_unsigned32) rec->task,1227 (uint32_t ) rec->task, 1228 1228 (rec->events >> RTEMS_CAPTURE_REAL_PRIORITY_EVENT) & 0xff, 1229 1229 (rec->events >> RTEMS_CAPTURE_CURR_PRIORITY_EVENT) & 0xff, … … 1233 1233 { 1234 1234 unsigned long long t; 1235 rtems_unsigned32event;1235 uint32_t event; 1236 1236 int e; 1237 1237 -
cpukit/libmisc/capture/capture.c
rc9160531 r3e08d4e 66 66 */ 67 67 static rtems_capture_record_t* capture_records; 68 static rtems_unsigned32capture_size;69 static rtems_unsigned32capture_count;68 static uint32_t capture_size; 69 static uint32_t capture_count; 70 70 static rtems_capture_record_t* capture_in; 71 static rtems_unsigned32capture_out;72 static rtems_unsigned32capture_flags;71 static uint32_t capture_out; 72 static uint32_t capture_flags; 73 73 static rtems_capture_task_t* capture_tasks; 74 74 static rtems_capture_control_t* capture_controls; … … 78 78 static rtems_task_priority capture_ceiling; 79 79 static rtems_task_priority capture_floor; 80 static rtems_unsigned32capture_tick_period;80 static uint32_t capture_tick_period; 81 81 static rtems_id capture_reader; 82 82 … … 109 109 * by the user get the time from that. 110 110 */ 111 static inline void rtems_capture_get_time ( rtems_unsigned32* ticks,112 rtems_unsigned32* tick_offset)111 static inline void rtems_capture_get_time (uint32_t * ticks, 112 uint32_t * tick_offset) 113 113 { 114 114 if (capture_timestamp) … … 212 212 if (task->tcb) 213 213 { 214 rtems_unsigned32* s;215 rtems_unsigned32i;214 uint32_t * s; 215 uint32_t i; 216 216 217 217 task->stack_size = task->tcb->Start.Initial_stack.size; … … 374 374 static inline void 375 375 rtems_capture_record (rtems_capture_task_t* task, 376 rtems_unsigned32events)376 uint32_t events) 377 377 { 378 378 /* … … 670 670 if (capture_flags & RTEMS_CAPTURE_ON) 671 671 { 672 rtems_unsigned32ticks;673 rtems_unsigned32tick_offset;672 uint32_t ticks; 673 uint32_t tick_offset; 674 674 675 675 /* … … 811 811 */ 812 812 rtems_status_code 813 rtems_capture_open ( rtems_unsigned32size, rtems_capture_timestamp timestamp)813 rtems_capture_open (uint32_t size, rtems_capture_timestamp timestamp) 814 814 { 815 815 rtems_extensions_table capture_extensions; … … 1350 1350 */ 1351 1351 rtems_status_code 1352 rtems_capture_read ( rtems_unsigned32threshold,1353 rtems_unsigned32timeout,1354 rtems_unsigned32* read,1352 rtems_capture_read (uint32_t threshold, 1353 uint32_t timeout, 1354 uint32_t * read, 1355 1355 rtems_capture_record_t** recs) 1356 1356 { 1357 1357 rtems_interrupt_level level; 1358 1358 rtems_status_code sc = RTEMS_SUCCESSFUL; 1359 rtems_unsigned32count;1359 uint32_t count; 1360 1360 1361 1361 *read = 0; … … 1457 1457 */ 1458 1458 rtems_status_code 1459 rtems_capture_release ( rtems_unsigned32count)1459 rtems_capture_release (uint32_t count) 1460 1460 { 1461 1461 rtems_interrupt_level level; … … 1482 1482 * This function returns the tick period in nano-seconds. 1483 1483 */ 1484 rtems_unsigned32 1484 uint32_t 1485 1485 rtems_capture_tick_time () 1486 1486 { … … 1527 1527 * is updated. 1528 1528 */ 1529 rtems_unsigned32 1529 uint32_t 1530 1530 rtems_capture_task_stack_usage (rtems_capture_task_t* task) 1531 1531 { 1532 1532 if (task->tcb) 1533 1533 { 1534 rtems_unsigned32* st;1535 rtems_unsigned32* s;1534 uint32_t * st; 1535 uint32_t * s; 1536 1536 1537 1537 /* … … 1549 1549 1550 1550 task->stack_clean = 1551 s - ( rtems_unsigned32*) task->tcb->Start.Initial_stack.area;1551 s - (uint32_t *) task->tcb->Start.Initial_stack.area; 1552 1552 } 1553 1553 -
cpukit/libmisc/capture/capture.h
rc9160531 r3e08d4e 50 50 rtems_name name; 51 51 rtems_id id; 52 rtems_unsigned32flags;52 uint32_t flags; 53 53 rtems_name from[RTEMS_CAPTURE_TRIGGER_TASKS]; 54 54 rtems_id from_id[RTEMS_CAPTURE_TRIGGER_TASKS]; … … 86 86 rtems_name name; 87 87 rtems_id id; 88 rtems_unsigned32flags;88 uint32_t flags; 89 89 rtems_tcb* tcb; 90 rtems_unsigned32in;91 rtems_unsigned32out;90 uint32_t in; 91 uint32_t out; 92 92 rtems_task_priority start_priority; 93 rtems_unsigned32stack_size;94 rtems_unsigned32stack_clean;95 rtems_unsigned32ticks;96 rtems_unsigned32tick_offset;97 rtems_unsigned32ticks_in;98 rtems_unsigned32tick_offset_in;99 rtems_unsigned32last_ticks;100 rtems_unsigned32last_tick_offset;93 uint32_t stack_size; 94 uint32_t stack_clean; 95 uint32_t ticks; 96 uint32_t tick_offset; 97 uint32_t ticks_in; 98 uint32_t tick_offset_in; 99 uint32_t last_ticks; 100 uint32_t last_tick_offset; 101 101 rtems_capture_control_t* control; 102 102 struct rtems_capture_task_s* next; … … 120 120 { 121 121 rtems_capture_task_t* task; 122 rtems_unsigned32events;123 rtems_unsigned32ticks;124 rtems_unsigned32tick_offset;122 uint32_t events; 123 uint32_t ticks; 124 uint32_t tick_offset; 125 125 } rtems_capture_record_t; 126 126 … … 173 173 174 174 typedef void (*rtems_capture_timestamp) 175 ( rtems_unsigned32* ticks, rtems_unsigned32* micro);175 (uint32_t * ticks, uint32_t * micro); 176 176 177 177 /* … … 185 185 */ 186 186 rtems_status_code 187 rtems_capture_open ( rtems_unsigned32size,187 rtems_capture_open (uint32_t size, 188 188 rtems_capture_timestamp timestamp); 189 189 … … 385 385 */ 386 386 rtems_status_code 387 rtems_capture_read ( rtems_unsigned32threshold,388 rtems_unsigned32timeout,389 rtems_unsigned32* read,387 rtems_capture_read (uint32_t threshold, 388 uint32_t timeout, 389 uint32_t * read, 390 390 rtems_capture_record_t** recs); 391 391 … … 399 399 */ 400 400 rtems_status_code 401 rtems_capture_release ( rtems_unsigned32count);401 rtems_capture_release (uint32_t count); 402 402 403 403 /* … … 408 408 * This function returns the tick period in micro-seconds. 409 409 */ 410 rtems_unsigned32 410 uint32_t 411 411 rtems_capture_tick_time (); 412 412 … … 418 418 * This function returns the tick period in micro-seconds. 419 419 */ 420 rtems_unsigned32 420 uint32_t 421 421 rtems_capture_tick_time (); 422 422 … … 520 520 * This function returns the task flags. 521 521 */ 522 static inline rtems_unsigned32522 static inline uint32_t 523 523 rtems_capture_task_flags (rtems_capture_task_t* task) 524 524 { … … 546 546 * This function returns the task control flags if a control is present. 547 547 */ 548 static inline rtems_unsigned32548 static inline uint32_t 549 549 rtems_capture_task_control_flags (rtems_capture_task_t* task) 550 550 { … … 562 562 * been switched into context. 563 563 */ 564 static inline rtems_unsigned32564 static inline uint32_t 565 565 rtems_capture_task_switched_in (rtems_capture_task_t* task) 566 566 { … … 576 576 * been switched out of context. 577 577 */ 578 static inline rtems_unsigned32578 static inline uint32_t 579 579 rtems_capture_task_switched_out (rtems_capture_task_t* task) 580 580 { … … 634 634 * is updated. 635 635 */ 636 rtems_unsigned32 636 uint32_t 637 637 rtems_capture_task_stack_usage (rtems_capture_task_t* task); 638 638 … … 644 644 * This function returns the task's stack size. 645 645 */ 646 static inline rtems_unsigned32646 static inline uint32_t 647 647 rtems_capture_task_stack_size (rtems_capture_task_t* task) 648 648 { … … 657 657 * This function returns the amount of stack used. 658 658 */ 659 static inline rtems_unsigned32659 static inline uint32_t 660 660 rtems_capture_task_stack_used (rtems_capture_task_t* task) 661 661 { … … 670 670 * This function returns the current execution time as ticks. 671 671 */ 672 static inline rtems_unsigned32672 static inline uint32_t 673 673 rtems_capture_task_ticks (rtems_capture_task_t* task) 674 674 { … … 683 683 * This function returns the current execution time tick offset. 684 684 */ 685 static inline rtems_unsigned32685 static inline uint32_t 686 686 rtems_capture_task_tick_offset (rtems_capture_task_t* task) 687 687 { … … 715 715 { 716 716 unsigned long long t = task->ticks - task->last_ticks; 717 rtems_unsigned32o = task->tick_offset - task->last_tick_offset;717 uint32_t o = task->tick_offset - task->last_tick_offset; 718 718 719 719 task->last_ticks = task->ticks; … … 731 731 * engine knows about. 732 732 */ 733 static inline rtems_unsigned32733 static inline uint32_t 734 734 rtems_capture_task_count () 735 735 { 736 736 rtems_capture_task_t* task = rtems_capture_get_task_list (); 737 rtems_unsigned32count = 0;737 uint32_t count = 0; 738 738 739 739 while (task) … … 804 804 * This function returns the control flags. 805 805 */ 806 static inline rtems_unsigned32806 static inline uint32_t 807 807 rtems_capture_control_flags (rtems_capture_control_t* control) 808 808 { … … 848 848 * engine has. 849 849 */ 850 static inline rtems_unsigned32850 static inline uint32_t 851 851 rtems_capture_control_count () 852 852 { 853 853 rtems_capture_control_t* control = rtems_capture_get_control_list (); 854 rtems_unsigned32count = 0;854 uint32_t count = 0; 855 855 856 856 while (control) -
cpukit/libmisc/cpuuse/cpuuse.c
rc9160531 r3e08d4e 27 27 #include <rtems/cpuuse.h> 28 28 29 u nsigned32CPU_usage_Ticks_at_last_reset;29 uint32_t CPU_usage_Ticks_at_last_reset; 30 30 31 31 /*PAGE … … 36 36 void CPU_usage_Dump( void ) 37 37 { 38 u nsigned32i;39 u nsigned32api_index;38 uint32_t i; 39 uint32_t api_index; 40 40 Thread_Control *the_thread; 41 41 Objects_Information *information; 42 u nsigned32u32_name;42 uint32_t u32_name; 43 43 char *cname; 44 44 char name[5]; 45 u nsigned32total_units = 0;45 uint32_t total_units = 0; 46 46 47 47 for ( api_index = 1 ; … … 89 89 name[ 4 ] = '\0'; 90 90 } else { 91 u32_name = (u nsigned32)the_thread->Object.name;91 u32_name = (uint32_t )the_thread->Object.name; 92 92 name[ 0 ] = (u32_name >> 24) & 0xff; 93 93 name[ 1 ] = (u32_name >> 16) & 0xff; -
cpukit/libmisc/devnull/devnull.c
rc9160531 r3e08d4e 36 36 */ 37 37 38 rtems_unsigned32NULL_major;38 uint32_t NULL_major; 39 39 static char initialized; 40 40 -
cpukit/libmisc/fsmount/fsmount.h
rc9160531 r3e08d4e 43 43 rtems_filesystem_operations_table *fs_ops; 44 44 rtems_filesystem_options_t mount_options; 45 u nsigned16report_reasons;46 u nsigned16abort_reasons;45 uint16_t report_reasons; 46 uint16_t abort_reasons; 47 47 } fstab_t; 48 48 -
cpukit/libmisc/monitor/mon-config.c
rc9160531 r3e08d4e 99 99 ) 100 100 { 101 u nsigned32length = 0;101 uint32_t length = 0; 102 102 103 103 length = 0; -
cpukit/libmisc/monitor/mon-dname.c
rc9160531 r3e08d4e 56 56 ) 57 57 { 58 rtems_unsigned32n = rtems_get_index(*next_id);58 uint32_t n = rtems_get_index(*next_id); 59 59 rtems_driver_name_t *table = _IO_Driver_name_table; 60 60 rtems_driver_name_t *np = 0; … … 100 100 ) 101 101 { 102 u nsigned32length = 0;102 uint32_t length = 0; 103 103 104 104 length += rtems_monitor_pad(6, length); -
cpukit/libmisc/monitor/mon-driver.c
rc9160531 r3e08d4e 68 68 { 69 69 rtems_configuration_table *c = _Configuration_Table; 70 rtems_unsigned32n = rtems_get_index(*next_id);70 uint32_t n = rtems_get_index(*next_id); 71 71 72 72 if (n >= c->number_of_device_drivers) … … 109 109 ) 110 110 { 111 u nsigned32length = 0;111 uint32_t length = 0; 112 112 113 113 length += printf(" %d", monitor_driver->id); -
cpukit/libmisc/monitor/mon-extension.c
rc9160531 r3e08d4e 66 66 ) 67 67 { 68 u nsigned32length = 0;68 uint32_t length = 0; 69 69 70 70 length += rtems_monitor_dump_id(monitor_extension->id); -
cpukit/libmisc/monitor/mon-itask.c
rc9160531 r3e08d4e 45 45 rtems_configuration_table *c = _Configuration_Table; 46 46 rtems_initialization_tasks_table *itask; 47 rtems_unsigned32n = rtems_get_index(*next_id);47 uint32_t n = rtems_get_index(*next_id); 48 48 49 49 if (n >= c->RTEMS_api_configuration->number_of_initialization_tasks) -
cpukit/libmisc/monitor/mon-monitor.c
rc9160531 r3e08d4e 42 42 extern rtems_tcb *debugger_interrupted_task; 43 43 extern rtems_context *debugger_interrupted_task_context; 44 extern rtems_unsigned32debugger_trap;44 extern uint32_t debugger_trap; 45 45 46 46 /* … … 52 52 rtems_id rtems_monitor_task_id; 53 53 54 u nsigned32rtems_monitor_node; /* our node number */55 u nsigned32rtems_monitor_default_node; /* current default for commands */54 uint32_t rtems_monitor_node; /* our node number */ 55 uint32_t rtems_monitor_default_node; /* current default for commands */ 56 56 57 57 /* … … 314 314 ) 315 315 { 316 u nsigned32new_node = rtems_monitor_default_node;316 uint32_t new_node = rtems_monitor_default_node; 317 317 318 318 switch (argc) … … 396 396 sp = rtems_symbol_create(rtems_monitor_symbols, 397 397 symbol, 398 ( rtems_unsigned32) strtoul(value, 0, 16));398 (uint32_t ) strtoul(value, 0, 16)); 399 399 if (sp == 0) 400 400 { … … 550 550 void 551 551 rtems_monitor_init( 552 u nsigned32monitor_flags552 uint32_t monitor_flags 553 553 ) 554 554 { -
cpukit/libmisc/monitor/mon-mpci.c
rc9160531 r3e08d4e 114 114 ) 115 115 { 116 u nsigned32length = 0;116 uint32_t length = 0; 117 117 118 118 length += rtems_monitor_pad(2, length); -
cpukit/libmisc/monitor/mon-object.c
rc9160531 r3e08d4e 122 122 rtems_monitor_id_fixup( 123 123 rtems_id id, 124 u nsigned32default_node,124 uint32_t default_node, 125 125 rtems_monitor_object_type_t type 126 126 ) 127 127 { 128 u nsigned32node;128 uint32_t node; 129 129 130 130 node = rtems_get_node(id); … … 174 174 175 175 request.command = RTEMS_MONITOR_SERVER_CANONICAL; 176 request.argument0 = (u nsigned32) type;177 request.argument1 = (u nsigned32) id;176 request.argument0 = (uint32_t ) type; 177 request.argument1 = (uint32_t ) id; 178 178 179 179 status = rtems_monitor_server_request(rtems_get_node(id), &request, &response); … … 238 238 rtems_id id, 239 239 void *canonical, 240 u nsigned32*size_p240 uint32_t *size_p 241 241 ) 242 242 { … … 345 345 else 346 346 { 347 u nsigned32default_node = rtems_monitor_default_node;347 uint32_t default_node = rtems_monitor_default_node; 348 348 rtems_monitor_object_type_t last_type = RTEMS_MONITOR_OBJECT_INVALID; 349 349 rtems_id id; -
cpukit/libmisc/monitor/mon-prmisc.c
rc9160531 r3e08d4e 26 26 } 27 27 28 u nsigned3228 uint32_t 29 29 rtems_monitor_pad( 30 u nsigned32destination_column,31 u nsigned32current_column30 uint32_t destination_column, 31 uint32_t current_column 32 32 ) 33 33 { … … 42 42 } 43 43 44 u nsigned3245 rtems_monitor_dump_char( rtems_unsigned8ch)44 uint32_t 45 rtems_monitor_dump_char(uint8_t ch) 46 46 { 47 47 if (isprint(ch)) … … 51 51 } 52 52 53 u nsigned3254 rtems_monitor_dump_decimal(u nsigned32num)53 uint32_t 54 rtems_monitor_dump_decimal(uint32_t num) 55 55 { 56 56 return printf("%4d", num); 57 57 } 58 58 59 u nsigned3260 rtems_monitor_dump_hex(u nsigned32num)59 uint32_t 60 rtems_monitor_dump_hex(uint32_t num) 61 61 { 62 62 return printf("0x%x", num); 63 63 } 64 64 65 u nsigned3265 uint32_t 66 66 rtems_monitor_dump_assoc_bitfield( 67 67 rtems_assoc_t *ap, 68 68 char *separator, 69 u nsigned32value69 uint32_t value 70 70 ) 71 71 { 72 u nsigned32b;73 u nsigned32length = 0;72 uint32_t b; 73 uint32_t length = 0; 74 74 const char *name; 75 75 … … 91 91 } 92 92 93 u nsigned3293 uint32_t 94 94 rtems_monitor_dump_id(rtems_id id) 95 95 { … … 97 97 } 98 98 99 u nsigned3299 uint32_t 100 100 rtems_monitor_dump_name(rtems_name name) 101 101 { 102 u nsigned32i;103 u nsigned32length = 0;102 uint32_t i; 103 uint32_t length = 0; 104 104 union { 105 u nsigned32ui;105 uint32_t ui; 106 106 char c[4]; 107 107 } u; 108 108 109 u.ui = ( rtems_unsigned32) name;109 u.ui = (uint32_t ) name; 110 110 111 111 #if (CPU_BIG_ENDIAN == TRUE) … … 119 119 } 120 120 121 u nsigned32121 uint32_t 122 122 rtems_monitor_dump_priority(rtems_task_priority priority) 123 123 { … … 147 147 }; 148 148 149 u nsigned32149 uint32_t 150 150 rtems_monitor_dump_state(States_Control state) 151 151 { 152 u nsigned32length = 0;152 uint32_t length = 0; 153 153 154 154 if (state == STATES_READY) /* assoc doesn't deal with this as it is 0 */ … … 170 170 }; 171 171 172 u nsigned32172 uint32_t 173 173 rtems_monitor_dump_attributes(rtems_attribute attributes) 174 174 { 175 u nsigned32length = 0;175 uint32_t length = 0; 176 176 177 177 if (attributes == RTEMS_DEFAULT_ATTRIBUTES) /* value is 0 */ … … 191 191 }; 192 192 193 u nsigned32193 uint32_t 194 194 rtems_monitor_dump_modes(rtems_mode modes) 195 195 { 196 u nsigned32length = 0;196 uint32_t length = 0; 197 197 198 198 if (modes == RTEMS_DEFAULT_MODES) /* value is 0 */ … … 241 241 }; 242 242 243 u nsigned32243 uint32_t 244 244 rtems_monitor_dump_events(rtems_event_set events) 245 245 { 246 u nsigned32length = 0;246 uint32_t length = 0; 247 247 248 248 if (events == EVENT_SETS_NONE_PENDING) /* value is 0 */ … … 255 255 } 256 256 257 u nsigned32258 rtems_monitor_dump_notepad(u nsigned32*notepad)259 { 260 u nsigned32length = 0;257 uint32_t 258 rtems_monitor_dump_notepad(uint32_t *notepad) 259 { 260 uint32_t length = 0; 261 261 int i; 262 262 -
cpukit/libmisc/monitor/mon-queue.c
rc9160531 r3e08d4e 51 51 ) 52 52 { 53 u nsigned32length = 0;53 uint32_t length = 0; 54 54 55 55 length += rtems_monitor_dump_id(monitor_queue->id); -
cpukit/libmisc/monitor/mon-server.c
rc9160531 r3e08d4e 35 35 rtems_status_code 36 36 rtems_monitor_server_request( 37 u nsigned32server_node,37 uint32_t server_node, 38 38 rtems_monitor_server_request_t *request, 39 39 rtems_monitor_server_response_t *response … … 42 42 rtems_id server_id; 43 43 rtems_status_code status; 44 u nsigned32size;44 uint32_t size; 45 45 46 46 /* … … 119 119 rtems_monitor_server_response_t response; 120 120 rtems_status_code status; 121 u nsigned32size;121 uint32_t size; 122 122 123 123 for (;;) … … 216 216 void 217 217 rtems_monitor_server_init( 218 u nsigned32monitor_flags218 uint32_t monitor_flags 219 219 ) 220 220 { … … 224 224 (_Configuration_MP_table->maximum_nodes > 1)) 225 225 { 226 u nsigned32maximum_nodes = _Configuration_MP_table->maximum_nodes;226 uint32_t maximum_nodes = _Configuration_MP_table->maximum_nodes; 227 227 228 228 /* -
cpukit/libmisc/monitor/mon-symbols.c
rc9160531 r3e08d4e 68 68 rtems_symbol_table_t *table, 69 69 char *name, 70 rtems_unsigned32value70 uint32_t value 71 71 ) 72 72 { … … 172 172 rtems_symbol_value_lookup( 173 173 rtems_symbol_table_t *table, 174 rtems_unsigned32value174 uint32_t value 175 175 ) 176 176 { … … 178 178 rtems_symbol_t *base; 179 179 rtems_symbol_t *best = 0; 180 rtems_unsigned32distance;181 rtems_unsigned32best_distance = ~0;182 rtems_unsigned32elements;180 uint32_t distance; 181 uint32_t best_distance = ~0; 182 uint32_t elements; 183 183 184 184 if (table == 0) … … 234 234 rtems_symbol_value_lookup_exact( 235 235 rtems_symbol_table_t *table, 236 rtems_unsigned32value236 uint32_t value 237 237 ) 238 238 { 239 rtems_unsigned32s;239 uint32_t s; 240 240 rtems_symbol_t *sp; 241 241 … … 277 277 ) 278 278 { 279 rtems_unsigned32s;279 uint32_t s; 280 280 rtems_symbol_t *sp; 281 281 … … 304 304 { 305 305 rtems_symbol_table_t *table; 306 rtems_unsigned32n = rtems_get_index(*next_id);306 uint32_t n = rtems_get_index(*next_id); 307 307 308 308 table = *(rtems_symbol_table_t **) object_info; … … 362 362 ) 363 363 { 364 u nsigned32 value = (unsigned32) value_void_p;364 uint32_t value = (uint32_t ) value_void_p; 365 365 rtems_symbol_t *sp; 366 366 … … 381 381 382 382 383 u nsigned32383 uint32_t 384 384 rtems_monitor_symbol_dump( 385 385 rtems_monitor_symbol_t *canonical_symbol, … … 387 387 ) 388 388 { 389 u nsigned32length = 0;389 uint32_t length = 0; 390 390 391 391 /* … … 421 421 ) 422 422 { 423 rtems_unsigned32s;423 uint32_t s; 424 424 rtems_symbol_t *sp; 425 425 -
cpukit/libmisc/monitor/monitor.h
rc9160531 r3e08d4e 76 76 typedef struct { 77 77 char name[MONITOR_SYMBOL_LEN]; 78 u nsigned32value;79 u nsigned32offset;78 uint32_t value; 79 uint32_t offset; 80 80 } rtems_monitor_symbol_t; 81 81 … … 94 94 /* end of common portion */ 95 95 Thread_Entry entry; 96 u nsigned32argument;96 uint32_t argument; 97 97 void *stack; 98 u nsigned32stack_size;98 uint32_t stack_size; 99 99 rtems_task_priority priority; 100 100 States_Control state; … … 102 102 rtems_mode modes; 103 103 rtems_attribute attributes; 104 u nsigned32notepad[RTEMS_NUMBER_NOTEPADS];104 uint32_t notepad[RTEMS_NUMBER_NOTEPADS]; 105 105 rtems_id wait_id; 106 u nsigned32wait_args;106 uint32_t wait_args; 107 107 } rtems_monitor_task_t; 108 108 … … 116 116 /* end of common portion */ 117 117 rtems_monitor_symbol_t entry; 118 u nsigned32argument;119 u nsigned32stack_size;118 uint32_t argument; 119 uint32_t stack_size; 120 120 rtems_task_priority priority; 121 121 rtems_mode modes; … … 132 132 /* end of common portion */ 133 133 rtems_attribute attributes; 134 u nsigned32number_of_pending_messages;135 u nsigned32maximum_pending_messages;136 u nsigned32maximum_message_size;134 uint32_t number_of_pending_messages; 135 uint32_t maximum_pending_messages; 136 uint32_t maximum_message_size; 137 137 } rtems_monitor_queue_t; 138 138 … … 174 174 rtems_name name; /* not used for drivers (yet) */ 175 175 /* end of common portion */ 176 u nsigned32major;177 u nsigned32minor;176 uint32_t major; 177 uint32_t minor; 178 178 char name_string[64]; 179 179 } rtems_monitor_dname_t; … … 185 185 typedef struct { 186 186 void *work_space_start; 187 u nsigned32work_space_size;188 u nsigned32maximum_tasks;189 u nsigned32maximum_timers;190 u nsigned32maximum_semaphores;191 u nsigned32maximum_message_queues;192 u nsigned32maximum_partitions;193 u nsigned32maximum_regions;194 u nsigned32maximum_ports;195 u nsigned32maximum_periods;196 u nsigned32maximum_extensions;197 u nsigned32microseconds_per_tick;198 u nsigned32ticks_per_timeslice;199 u nsigned32number_of_initialization_tasks;187 uint32_t work_space_size; 188 uint32_t maximum_tasks; 189 uint32_t maximum_timers; 190 uint32_t maximum_semaphores; 191 uint32_t maximum_message_queues; 192 uint32_t maximum_partitions; 193 uint32_t maximum_regions; 194 uint32_t maximum_ports; 195 uint32_t maximum_periods; 196 uint32_t maximum_extensions; 197 uint32_t microseconds_per_tick; 198 uint32_t ticks_per_timeslice; 199 uint32_t number_of_initialization_tasks; 200 200 } rtems_monitor_config_t; 201 201 … … 206 206 #if defined(RTEMS_MULTIPROCESSING) 207 207 typedef struct { 208 u nsigned32node; /* local node number */209 u nsigned32maximum_nodes; /* maximum # nodes in system */210 u nsigned32maximum_global_objects; /* maximum # global objects */211 u nsigned32maximum_proxies; /* maximum # proxies */212 213 u nsigned32default_timeout; /* in ticks */214 u nsigned32maximum_packet_size;208 uint32_t node; /* local node number */ 209 uint32_t maximum_nodes; /* maximum # nodes in system */ 210 uint32_t maximum_global_objects; /* maximum # global objects */ 211 uint32_t maximum_proxies; /* maximum # proxies */ 212 213 uint32_t default_timeout; /* in ticks */ 214 uint32_t maximum_packet_size; 215 215 rtems_monitor_symbol_t initialization; 216 216 rtems_monitor_symbol_t get_packet; … … 257 257 typedef struct 258 258 { 259 u nsigned32command;259 uint32_t command; 260 260 rtems_id return_id; 261 u nsigned32argument0;262 u nsigned32argument1;263 u nsigned32argument2;264 u nsigned32argument3;265 u nsigned32argument4;266 u nsigned32argument5;261 uint32_t argument0; 262 uint32_t argument1; 263 uint32_t argument2; 264 uint32_t argument3; 265 uint32_t argument4; 266 uint32_t argument5; 267 267 } rtems_monitor_server_request_t; 268 268 269 269 typedef struct 270 270 { 271 u nsigned32command;272 u nsigned32result0;273 u nsigned32result1;271 uint32_t command; 272 uint32_t result0; 273 uint32_t result1; 274 274 rtems_monitor_union_t payload; 275 275 } rtems_monitor_server_response_t; … … 277 277 extern rtems_id rtems_monitor_task_id; 278 278 279 extern u nsigned32rtems_monitor_node; /* our node number */280 extern u nsigned32rtems_monitor_default_node; /* current default for commands */279 extern uint32_t rtems_monitor_node; /* our node number */ 280 extern uint32_t rtems_monitor_default_node; /* current default for commands */ 281 281 282 282 /* … … 304 304 char *command; /* command name */ 305 305 char *usage; /* usage string for the command */ 306 u nsigned32arguments_required; /* # of required args */306 uint32_t arguments_required; /* # of required args */ 307 307 rtems_monitor_command_function_t command_function; 308 308 /* Some argument for the command */ … … 330 330 /* monitor.c */ 331 331 void rtems_monitor_kill(void); 332 void rtems_monitor_init(u nsigned32);332 void rtems_monitor_init(uint32_t ); 333 333 void rtems_monitor_wakeup(void); 334 334 void rtems_monitor_pause_cmd(int, char **, rtems_monitor_command_arg_t*, boolean); … … 345 345 /* server.c */ 346 346 void rtems_monitor_server_kill(void); 347 rtems_status_code rtems_monitor_server_request(u nsigned32, rtems_monitor_server_request_t *, rtems_monitor_server_response_t *);347 rtems_status_code rtems_monitor_server_request(uint32_t , rtems_monitor_server_request_t *, rtems_monitor_server_response_t *); 348 348 void rtems_monitor_server_task(rtems_task_argument); 349 void rtems_monitor_server_init(u nsigned32);349 void rtems_monitor_server_init(uint32_t ); 350 350 351 351 /* command.c */ … … 359 359 /* prmisc.c */ 360 360 void rtems_monitor_separator(void); 361 u nsigned32 rtems_monitor_pad(unsigned32 dest_col, unsigned32curr_col);362 u nsigned32 rtems_monitor_dump_char(unsigned8ch);363 u nsigned32 rtems_monitor_dump_decimal(unsigned32num);364 u nsigned32 rtems_monitor_dump_hex(unsigned32num);365 u nsigned32rtems_monitor_dump_id(rtems_id id);366 u nsigned32rtems_monitor_dump_name(rtems_name name);367 u nsigned32rtems_monitor_dump_priority(rtems_task_priority priority);368 u nsigned32rtems_monitor_dump_state(States_Control state);369 u nsigned32rtems_monitor_dump_modes(rtems_mode modes);370 u nsigned32rtems_monitor_dump_attributes(rtems_attribute attributes);371 u nsigned32rtems_monitor_dump_events(rtems_event_set events);372 u nsigned32 rtems_monitor_dump_notepad(unsigned32*notepad);361 uint32_t rtems_monitor_pad(uint32_t dest_col, uint32_t curr_col); 362 uint32_t rtems_monitor_dump_char(uint8_t ch); 363 uint32_t rtems_monitor_dump_decimal(uint32_t num); 364 uint32_t rtems_monitor_dump_hex(uint32_t num); 365 uint32_t rtems_monitor_dump_id(rtems_id id); 366 uint32_t rtems_monitor_dump_name(rtems_name name); 367 uint32_t rtems_monitor_dump_priority(rtems_task_priority priority); 368 uint32_t rtems_monitor_dump_state(States_Control state); 369 uint32_t rtems_monitor_dump_modes(rtems_mode modes); 370 uint32_t rtems_monitor_dump_attributes(rtems_attribute attributes); 371 uint32_t rtems_monitor_dump_events(rtems_event_set events); 372 uint32_t rtems_monitor_dump_notepad(uint32_t *notepad); 373 373 374 374 /* object.c */ 375 rtems_id rtems_monitor_id_fixup(rtems_id, u nsigned32, rtems_monitor_object_type_t);376 rtems_id rtems_monitor_object_canonical_get(rtems_monitor_object_type_t, rtems_id, void *, u nsigned32*size_p);375 rtems_id rtems_monitor_id_fixup(rtems_id, uint32_t , rtems_monitor_object_type_t); 376 rtems_id rtems_monitor_object_canonical_get(rtems_monitor_object_type_t, rtems_id, void *, uint32_t *size_p); 377 377 rtems_id rtems_monitor_object_canonical_next(rtems_monitor_object_info_t *, rtems_id, void *); 378 378 void *rtems_monitor_object_next(void *, void *, rtems_id, rtems_id *); … … 434 434 void rtems_symbol_table_destroy(rtems_symbol_table_t *table); 435 435 436 rtems_symbol_t *rtems_symbol_create(rtems_symbol_table_t *, char *, u nsigned32);437 rtems_symbol_t *rtems_symbol_value_lookup(rtems_symbol_table_t *, u nsigned32);438 const rtems_symbol_t *rtems_symbol_value_lookup_exact(rtems_symbol_table_t *, u nsigned32);436 rtems_symbol_t *rtems_symbol_create(rtems_symbol_table_t *, char *, uint32_t ); 437 rtems_symbol_t *rtems_symbol_value_lookup(rtems_symbol_table_t *, uint32_t ); 438 const rtems_symbol_t *rtems_symbol_value_lookup_exact(rtems_symbol_table_t *, uint32_t ); 439 439 rtems_symbol_t *rtems_symbol_name_lookup(rtems_symbol_table_t *, char *); 440 440 void *rtems_monitor_symbol_next(void *object_info, rtems_monitor_symbol_t *, rtems_id *); … … 442 442 void rtems_monitor_symbol_canonical_by_name(rtems_monitor_symbol_t *, char *); 443 443 void rtems_monitor_symbol_canonical_by_value(rtems_monitor_symbol_t *, void *); 444 u nsigned32rtems_monitor_symbol_dump(rtems_monitor_symbol_t *, boolean);444 uint32_t rtems_monitor_symbol_dump(rtems_monitor_symbol_t *, boolean); 445 445 void rtems_monitor_symbol_cmd(int, char **, rtems_monitor_command_arg_t*, boolean); 446 446 -
cpukit/libmisc/monitor/symbols.h
rc9160531 r3e08d4e 22 22 23 23 struct _rtems_symbol_t { 24 rtems_unsigned32value;24 uint32_t value; 25 25 char *name; 26 26 } ; … … 34 34 struct _rtems_symbol_table_t { 35 35 36 rtems_unsigned32sorted; /* are symbols sorted right now? */37 rtems_unsigned32growth_factor; /* % to grow by when needed */38 rtems_unsigned32next; /* next symbol slot to use when adding */39 rtems_unsigned32size; /* max # of symbols */36 uint32_t sorted; /* are symbols sorted right now? */ 37 uint32_t growth_factor; /* % to grow by when needed */ 38 uint32_t next; /* next symbol slot to use when adding */ 39 uint32_t size; /* max # of symbols */ 40 40 41 41 /* … … 51 51 rtems_symbol_string_block_t *string_buffer_head; 52 52 rtems_symbol_string_block_t *string_buffer_current; 53 rtems_unsigned32strings_next; /* next byte to use in this block */53 uint32_t strings_next; /* next byte to use in this block */ 54 54 55 55 } ; -
cpukit/libmisc/mw-fb/mw_uid.c
rc9160531 r3e08d4e 14 14 // 15 15 // $Log$ 16 // Revision 1.5 2003/07/08 08:38:48 ralf 17 // 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 18 // 19 // * capture/capture-cli.c: Add config-header support. 20 // * capture/capture.c: Add config-header support. 21 // * cpuuse/cpuuse.c: Add config-header support. 22 // * devnull/devnull.c: Add config-header support. 23 // * dummy/dummy.c: Add config-header support. 24 // * dumpbuf/dumpbuf.c: Add config-header support. 25 // * monitor/mon-command.c: Add config-header support. 26 // * monitor/mon-config.c: Add config-header support. 27 // * monitor/mon-dname.c: Add config-header support. 28 // * monitor/mon-driver.c: Add config-header support. 29 // * monitor/mon-extension.c: Add config-header support. 30 // * monitor/mon-itask.c: Add config-header support. 31 // * monitor/mon-manager.c: Add config-header support. 32 // * monitor/mon-monitor.c: Add config-header support. 33 // * monitor/mon-mpci.c: Add config-header support. 34 // * monitor/mon-object.c: Add config-header support. 35 // * monitor/mon-prmisc.c: Add config-header support. 36 // * monitor/mon-queue.c: Add config-header support. 37 // * monitor/mon-server.c: Add config-header support. 38 // * monitor/mon-symbols.c: Add config-header support. 39 // * monitor/mon-task.c: Add config-header support. 40 // * mw-fb/mw_fb.c: Add config-header support. 41 // * mw-fb/mw_uid.c: Add config-header support. 42 // * rtmonuse/rtmonuse.c: Add config-header support. 43 // * serdbg/serdbg.c: Add config-header support. 44 // * serdbg/serdbgio.c: Add config-header support. 45 // * serdbg/termios_printk.c: Add config-header support. 46 // * shell/cmds.c: Add config-header support. 47 // * stackchk/check.c: Add config-header support. 48 // * untar/untar.c: Add config-header support. 49 // 16 50 // Revision 1.4 2002/01/04 18:32:48 joel 17 51 // 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> … … 126 160 { 127 161 rtems_status_code status; 128 rtems_unsigned32size = 0;162 uint32_t size = 0; 129 163 unsigned long micro_secs = timeout*1000; 130 164 int wait = ( timeout != 0 ); -
cpukit/libmisc/rtmonuse/rtmonuse.c
rc9160531 r3e08d4e 17 17 typedef struct { 18 18 rtems_id id; 19 u nsigned32count;20 u nsigned32missed_count;21 u nsigned32min_cpu_time;22 u nsigned32max_cpu_time;23 u nsigned32total_cpu_time;24 u nsigned32min_wall_time;25 u nsigned32max_wall_time;26 u nsigned32total_wall_time;19 uint32_t count; 20 uint32_t missed_count; 21 uint32_t min_cpu_time; 22 uint32_t max_cpu_time; 23 uint32_t total_cpu_time; 24 uint32_t min_wall_time; 25 uint32_t max_wall_time; 26 uint32_t total_wall_time; 27 27 } Period_usage_t; 28 28 … … 52 52 void Period_usage_Reset( void ) 53 53 { 54 u nsigned32i;54 uint32_t i; 55 55 Period_usage_t *the_usage; 56 56 … … 128 128 void Period_usage_Dump( void ) 129 129 { 130 u nsigned32i;130 uint32_t i; 131 131 Period_usage_t *the_usage; 132 132 Rate_monotonic_Control *the_period; 133 u nsigned32u32_name;133 uint32_t u32_name; 134 134 char *cname; 135 135 char name[5]; 136 u nsigned32api_index;136 uint32_t api_index; 137 137 Objects_Information *information; 138 138 … … 177 177 name[ 4 ] = '\0'; 178 178 } else { 179 u32_name = (u nsigned32)the_period->owner->Object.name;179 u32_name = (uint32_t )the_period->owner->Object.name; 180 180 name[ 0 ] = (u32_name >> 24) & 0xff; 181 181 name[ 1 ] = (u32_name >> 16) & 0xff; -
cpukit/libmisc/serdbg/serdbg.h
rc9160531 r3e08d4e 27 27 28 28 typedef struct { 29 u nsigned32baudrate; /* debug baud rate, e.g. 57600 */29 uint32_t baudrate; /* debug baud rate, e.g. 57600 */ 30 30 void (*callout)(void); /* callout pointer during polling */ 31 int (*open_io)(const char *dev_name,u nsigned32baudrate); /* I/O open fnc */31 int (*open_io)(const char *dev_name,uint32_t baudrate); /* I/O open fnc */ 32 32 const char *devname; /* debug device, e.g. "/dev/tty01" */ 33 u nsigned8skip_init_bkpt; /* if TRUE, do not stop when initializing */33 uint8_t skip_init_bkpt; /* if TRUE, do not stop when initializing */ 34 34 } serdbg_conf_t; 35 35 … … 129 129 ( 130 130 const char *dev_name, /* name of device to open */ 131 u nsigned32baudrate /* baud rate to use */131 uint32_t baudrate /* baud rate to use */ 132 132 ); 133 133 /*-------------------------------------------------------------------------*\ -
cpukit/libmisc/serdbg/serdbgio.c
rc9160531 r3e08d4e 61 61 ( 62 62 const char *dev_name, /* name of device to open */ 63 u nsigned32baudrate /* baud rate to use */63 uint32_t baudrate /* baud rate to use */ 64 64 ) 65 65 /*-------------------------------------------------------------------------*\ -
cpukit/libmisc/serdbg/termios_printk.c
rc9160531 r3e08d4e 146 146 ( 147 147 const char *dev_name, /* name of device to open */ 148 u nsigned32baudrate /* baud rate to use */148 uint32_t baudrate /* baud rate to use */ 149 149 ) 150 150 /*-------------------------------------------------------------------------*\ -
cpukit/libmisc/serdbg/termios_printk.h
rc9160531 r3e08d4e 27 27 28 28 typedef struct { 29 u nsigned32baudrate; /* debug baud rate, e.g. 57600 */29 uint32_t baudrate; /* debug baud rate, e.g. 57600 */ 30 30 void (*callout)(void); /* callout pointer during polling */ 31 31 const char *devname; /* debug device, e.g. "/dev/tty01" */ … … 87 87 ( 88 88 const char *dev_name, /* name of device to open */ 89 u nsigned32baudrate /* baud rate to use */89 uint32_t baudrate /* baud rate to use */ 90 90 ); 91 91 /*-------------------------------------------------------------------------*\ -
cpukit/libmisc/shell/shell.c
rc9160531 r3e08d4e 39 39 * This is a stupidity but is cute. 40 40 * ----------------------------------------------- */ 41 rtems_unsigned32new_rtems_name(char * rtems_name) {41 uint32_t new_rtems_name(char * rtems_name) { 42 42 static char b[5]; 43 43 sprintf(b,"%-4.4s",rtems_name); … … 640 640 /* ----------------------------------------------- */ 641 641 rtems_status_code shell_init (char * task_name, 642 rtems_unsigned32task_stacksize,642 uint32_t task_stacksize, 643 643 rtems_task_priority task_priority, 644 644 char * devname, -
cpukit/libmisc/shell/shell.h
rc9160531 r3e08d4e 39 39 }; 40 40 41 rtems_unsigned32new_rtems_name(char * rtems_name);41 uint32_t new_rtems_name(char * rtems_name); 42 42 shell_cmd_t * shell_lookup_cmd(char * cmd); 43 43 shell_cmd_t * shell_add_cmd(char * cmd, … … 68 68 69 69 rtems_status_code shell_init(char * task_name , 70 rtems_unsigned32task_stacksize,/*0 default*/70 uint32_t task_stacksize,/*0 default*/ 71 71 rtems_task_priority task_priority , 72 72 char * devname , -
cpukit/libmisc/stackchk/check.c
rc9160531 r3e08d4e 144 144 */ 145 145 146 u nsigned32stack_check_initialized = 0;146 uint32_t stack_check_initialized = 0; 147 147 148 148 void Stack_check_Initialize( void ) … … 152 152 Objects_Id id_ignored; 153 153 #endif 154 u nsigned32*p;154 uint32_t *p; 155 155 #if 0 156 u nsigned32i;157 u nsigned32api_index;156 uint32_t i; 157 uint32_t api_index; 158 158 Thread_Control *the_thread; 159 159 Objects_Information *information; … … 319 319 running, 320 320 running->Object.id, 321 (u nsigned32)running->Object.name321 (uint32_t )running->Object.name 322 322 ); 323 323 fflush(stderr); … … 336 336 stderr, 337 337 " stack covers range 0x%08x - 0x%08x (%d bytes)\n", 338 (u nsigned32) stack->area,339 (u nsigned32) stack->area + stack->size - 1,340 (u nsigned32) stack->size);338 (uint32_t ) stack->area, 339 (uint32_t ) stack->area + stack->size - 1, 340 (uint32_t ) stack->size); 341 341 fflush(stderr); 342 342 … … 348 348 fflush(stderr); 349 349 350 rtems_fatal_error_occurred( (u nsigned32) "STACK BLOWN" );350 rtems_fatal_error_occurred( (uint32_t ) "STACK BLOWN" ); 351 351 } 352 352 … … 378 378 ) 379 379 { 380 const u nsigned32*base, *ebase;381 u nsigned32length;380 const uint32_t *base, *ebase; 381 uint32_t length; 382 382 383 383 base = s; … … 420 420 ) 421 421 { 422 u nsigned32size, used;422 uint32_t size, used; 423 423 void *low; 424 424 void *high_water_mark; 425 425 Stack_Control *stack; 426 u nsigned32u32_name;426 uint32_t u32_name; 427 427 char name_str[5]; 428 428 char *name; … … 465 465 name = (char *) the_thread->Object.name; 466 466 } else { 467 u32_name = (u nsigned32)the_thread->Object.name;467 u32_name = (uint32_t )the_thread->Object.name; 468 468 name[ 0 ] = (u32_name >> 24) & 0xff; 469 469 name[ 1 ] = (u32_name >> 16) & 0xff; … … 484 484 the_thread ? the_thread->Object.id : ~0, 485 485 name, 486 (u nsigned32) stack->area,487 (u nsigned32) stack->area + (unsigned32) stack->size - 1,486 (uint32_t ) stack->area, 487 (uint32_t ) stack->area + (uint32_t ) stack->size - 1, 488 488 size, 489 489 used … … 499 499 Internal_errors_Source source, 500 500 boolean is_internal, 501 u nsigned32status501 uint32_t status 502 502 ) 503 503 { … … 516 516 void Stack_check_Dump_usage( void ) 517 517 { 518 u nsigned32i;519 u nsigned32api_index;518 uint32_t i; 519 uint32_t api_index; 520 520 Thread_Control *the_thread; 521 u nsigned32hit_running = 0;521 uint32_t hit_running = 0; 522 522 Objects_Information *information; 523 523 -
cpukit/libmisc/stackchk/internal.h
rc9160531 r3e08d4e 33 33 #endif 34 34 35 #define PATTERN_SIZE_BYTES (PATTERN_SIZE_WORDS * sizeof(u nsigned32))35 #define PATTERN_SIZE_BYTES (PATTERN_SIZE_WORDS * sizeof(uint32_t )) 36 36 37 37 typedef struct { 38 u nsigned32pattern[ PATTERN_SIZE_WORDS ];38 uint32_t pattern[ PATTERN_SIZE_WORDS ]; 39 39 } Stack_check_Control; 40 40 … … 79 79 Internal_errors_Source source, 80 80 boolean is_internal, 81 u nsigned32status81 uint32_t status 82 82 ); 83 83
Note: See TracChangeset
for help on using the changeset viewer.