Changeset 5114d3f in rtems


Ignore:
Timestamp:
Aug 2, 2010, 6:26:30 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
8851c0a
Parents:
2d08be1
Message:

2010-08-02 Joel Sherrill <joel.sherrill@…>

  • libmisc/stackchk/check.c: If this port does not allocate the interrupt stack, then it must always be a thread stack. Do not include code to print the interrupt stack information.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2d08be1 r5114d3f  
     12010-08-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/stackchk/check.c: If this port does not allocate the
     4        interrupt stack, then it must always be a thread stack. Do not
     5        include code to print the interrupt stack information.
     6
    172010-08-02      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/libmisc/stackchk/check.c

    r2d08be1 r5114d3f  
    421421    used = 0;
    422422
    423   if ( the_thread ) {
    424     (*print_handler)(
    425       print_context,
    426       "0x%08" PRIx32 "  %4s",
    427       the_thread->Object.id,
    428       rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
    429     );
    430   } else {
    431     (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
    432   }
     423
     424  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
     425    if ( the_thread )
     426  #endif
     427    {
     428      (*print_handler)(
     429        print_context,
     430        "0x%08" PRIx32 "  %4s",
     431        the_thread->Object.id,
     432        rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
     433      );
     434    }
     435    #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
     436      else {
     437        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
     438      }
     439    #endif
    433440
    434441  (*print_handler)(
Note: See TracChangeset for help on using the changeset viewer.