Changeset 11290355 in rtems for cpukit/libmisc


Ignore:
Timestamp:
Sep 29, 1995, 5:19:16 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ceface
Parents:
1039ae4
Message:

all targets compile .. tony's patches in place

Location:
cpukit/libmisc
Files:
5 edited

Legend:

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

    r1039ae4 r11290355  
    11/*
    2  *      @(#)extension.c 1.3 - 95/07/31
     2 *      @(#)extension.c 1.6 - 95/09/25
    33 *     
    44 *
     
    2222    rtems_extensions_table *e = &rtems_extension->Extension.Callouts;
    2323
    24     rtems_monitor_symbol_canonical_by_value(&canonical_extension->create,
     24    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_create,
    2525                                            e->thread_create);
    2626
    27     rtems_monitor_symbol_canonical_by_value(&canonical_extension->start,
     27    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_start,
    2828                                            e->thread_start);
    29     rtems_monitor_symbol_canonical_by_value(&canonical_extension->restart,
     29    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_restart,
    3030                                            e->thread_restart);
    31     rtems_monitor_symbol_canonical_by_value(&canonical_extension->delete,
     31    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_delete,
    3232                                            e->thread_delete);
    33     rtems_monitor_symbol_canonical_by_value(&canonical_extension->tswitch,
     33    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_tswitch,
    3434                                            e->thread_switch);
    35     rtems_monitor_symbol_canonical_by_value(&canonical_extension->begin,
     35    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_begin,
    3636                                            e->thread_begin);
    37     rtems_monitor_symbol_canonical_by_value(&canonical_extension->exitted,
     37    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_exitted,
    3838                                            e->thread_exitted);
    39     rtems_monitor_symbol_canonical_by_value(&canonical_extension->fatal,
     39    rtems_monitor_symbol_canonical_by_value(&canonical_extension->e_fatal,
    4040                                            e->fatal);
    4141}
     
    7373    length += rtems_monitor_pad(18, length);
    7474    length += printf("create: ");
    75     length += rtems_monitor_symbol_dump(&monitor_extension->create, verbose);
     75    length += rtems_monitor_symbol_dump(&monitor_extension->e_create, verbose);
    7676    length += printf(";  start: ");
    77     length += rtems_monitor_symbol_dump(&monitor_extension->start, verbose);
     77    length += rtems_monitor_symbol_dump(&monitor_extension->e_start, verbose);
    7878    length += printf(";  restart: ");
    79     length += rtems_monitor_symbol_dump(&monitor_extension->restart, verbose);
     79    length += rtems_monitor_symbol_dump(&monitor_extension->e_restart, verbose);
    8080    length += printf("\n");
    8181    length = 0;
     
    8383    length += rtems_monitor_pad(18, length);
    8484    length += printf("delete: ");
    85     length += rtems_monitor_symbol_dump(&monitor_extension->delete, verbose);
     85    length += rtems_monitor_symbol_dump(&monitor_extension->e_delete, verbose);
    8686    length += printf(";  switch: ");
    87     length += rtems_monitor_symbol_dump(&monitor_extension->tswitch, verbose);
     87    length += rtems_monitor_symbol_dump(&monitor_extension->e_tswitch, verbose);
    8888    length += printf(";  begin: ");
    89     length += rtems_monitor_symbol_dump(&monitor_extension->begin, verbose);
     89    length += rtems_monitor_symbol_dump(&monitor_extension->e_begin, verbose);
    9090    length += printf("\n");
    9191    length = 0;
     
    9393    length += rtems_monitor_pad(18, length);
    9494    length += printf("exitted: ");
    95     length += rtems_monitor_symbol_dump(&monitor_extension->exitted, verbose);
     95    length += rtems_monitor_symbol_dump(&monitor_extension->e_exitted, verbose);
    9696    length += printf(";  fatal: ");
    97     length += rtems_monitor_symbol_dump(&monitor_extension->fatal, verbose);
     97    length += rtems_monitor_symbol_dump(&monitor_extension->e_fatal, verbose);
    9898    length += printf("\n");
    9999    length = 0;
  • cpukit/libmisc/monitor/mon-symbols.c

    r1039ae4 r11290355  
    185185rtems_symbol_sort(rtems_symbol_table_t *table)
    186186{
    187 #ifdef simhppa
     187#ifdef RTEMS_ON_SIMULATOR
    188188    printf("Sorting symbols ... ");         /* so slow we need a msg */
    189189    fflush(stdout);
     
    196196          sizeof(rtems_symbol_t), rtems_symbol_string_compare);
    197197
    198 #ifdef simhppa
     198#ifdef RTEMS_ON_SIMULATOR
    199199    /* so slow we need a msg */
    200200    printf("done\n");
     
    402402        if (canonical_symbol->offset == 0)
    403403            length += printf("%.*s",
    404                              sizeof(canonical_symbol->name),
     404                             (int) sizeof(canonical_symbol->name),
    405405                             canonical_symbol->name);
    406406        else
    407407            length += printf("<%.*s+0x%x>",
    408                              sizeof(canonical_symbol->name),
     408                             (int) sizeof(canonical_symbol->name),
    409409                             canonical_symbol->name,
    410410                             canonical_symbol->offset);
  • cpukit/libmisc/monitor/monitor.h

    r1039ae4 r11290355  
    141141    rtems_name               name;
    142142  /* end of common portion */
    143     rtems_monitor_symbol_t  create;
    144     rtems_monitor_symbol_t  start;
    145     rtems_monitor_symbol_t  restart;
    146     rtems_monitor_symbol_t  delete;
    147     rtems_monitor_symbol_t  tswitch;
    148     rtems_monitor_symbol_t  begin;
    149     rtems_monitor_symbol_t  exitted;
    150     rtems_monitor_symbol_t  fatal;
     143    rtems_monitor_symbol_t  e_create;
     144    rtems_monitor_symbol_t  e_start;
     145    rtems_monitor_symbol_t  e_restart;
     146    rtems_monitor_symbol_t  e_delete;
     147    rtems_monitor_symbol_t  e_tswitch;
     148    rtems_monitor_symbol_t  e_begin;
     149    rtems_monitor_symbol_t  e_exitted;
     150    rtems_monitor_symbol_t  e_fatal;
    151151} rtems_monitor_extension_t;
    152152
  • cpukit/libmisc/stackchk/check.c

    r1039ae4 r11290355  
    129129  Objects_Id           id_ignored;
    130130  unsigned32          *p;
     131#if 0
    131132  unsigned32           i;
    132133  unsigned32           class_index;
    133134  Thread_Control      *the_thread;
    134135  Objects_Information *information;
     136#endif
    135137
    136138  if (stack_check_initialized)
     
    421423 */
    422424
    423 void Stack_check_Fatal_extension( unsigned32 status )
     425void Stack_check_Fatal_extension(
     426    Internal_errors_Source  source,
     427    boolean                 is_internal,
     428    unsigned32              status
     429)
    424430{
    425431    if (status == 0)
     
    444450      return;
    445451
     452  printf("Stack usage by thread\n");
    446453  printf(
    447454    "   ID          NAME         LOW        HIGH      AVAILABLE     USED\n"
  • cpukit/libmisc/stackchk/internal.h

    r1039ae4 r11290355  
    7878
    7979void Stack_check_Fatal_extension(
    80   unsigned32
     80    Internal_errors_Source  source,
     81    boolean                 is_internal,
     82    unsigned32              status
    8183);
    8284
Note: See TracChangeset for help on using the changeset viewer.