Changeset f440089 in rtems for testsuites/support


Ignore:
Timestamp:
Oct 26, 2009, 5:32:35 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
aea32337
Parents:
a00d2e5f
Message:

2009-10-26 Ralf Corsépius <ralf.corsepius@…>

  • support/include/tmacros.h: Move _Thread_Dispatch_disable_level outside of check_dispatch_disable_level.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/tmacros.h

    ra00d2e5f rf440089  
    4343
    4444/*
     45 * HACK: Blatant visibility violation
     46 * Should include a public header instead
     47 */
     48extern volatile uint32_t   _Thread_Dispatch_disable_level;
     49
     50/*
    4551 *  Check that that the dispatch disable level is proper for the
    4652 *  mode/state of the test.  Normally it should be 0 when in task space.
     
    4955#define check_dispatch_disable_level( _expect ) \
    5056  do { \
    51     extern volatile uint32_t   _Thread_Dispatch_disable_level; \
    5257    if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \
    53       printf( "\n_Thread_Dispatch_disable_level is (%d) not %d\n", \
     58      printf( "\n_Thread_Dispatch_disable_level is (%" PRId32 ") not %d\n", \
    5459              _Thread_Dispatch_disable_level, (_expect) ); \
    5560      FLUSH_OUTPUT(); \
Note: See TracChangeset for help on using the changeset viewer.