Changeset 6a9282d in rtems


Ignore:
Timestamp:
Dec 9, 2016, 9:49:49 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
279d5260
Parents:
b6606e8
git-author:
Sebastian Huber <sebastian.huber@…> (12/09/16 09:49:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/12/16 07:03:14)
Message:

Rename is_internal to always_set_to_false

Update #2825.

Files:
44 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspclean.c

    rb6606e8 r6a9282d  
    2020void bsp_fatal_extension(
    2121  rtems_fatal_source src,
    22   bool is_internal,
     22  bool always_set_to_false,
    2323  rtems_fatal_code code
    2424)
  • c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c

    rb6606e8 r6a9282d  
    5151void bsp_fatal_extension(
    5252  rtems_fatal_source source,
    53   bool is_internal,
     53  bool always_set_to_false,
    5454  rtems_fatal_code error
    5555)
  • c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c

    rb6606e8 r6a9282d  
    2020void bsp_fatal_extension(
    2121  rtems_fatal_source source,
    22   bool is_internal,
     22  bool always_set_to_false,
    2323  rtems_fatal_code error
    2424)
  • c/src/lib/libbsp/m68k/mrm332/misc/interr.c

    rb6606e8 r6a9282d  
    3434void bsp_fatal_extension(
    3535  rtems_fatal_source source,
    36   bool is_internal,
     36  bool always_set_to_false,
    3737  rtems_fatal_code the_error
    3838)
  • c/src/lib/libbsp/m68k/mvme147/startup/bspclean.c

    rb6606e8 r6a9282d  
    3838void bsp_fatal_extension(
    3939  rtems_fatal_source source,
    40   bool is_internal,
     40  bool always_set_to_false,
    4141  rtems_fatal_code error
    4242)
  • c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c

    rb6606e8 r6a9282d  
    3939void bsp_fatal_extension(
    4040  rtems_fatal_source source,
    41   bool is_internal,
     41  bool always_set_to_false,
    4242  rtems_fatal_code error
    4343)
  • c/src/lib/libbsp/m68k/mvme167/startup/bspclean.c

    rb6606e8 r6a9282d  
    6262void bsp_fatal_extension(
    6363  rtems_fatal_source source,
    64   bool is_internal,
     64  bool always_set_to_false,
    6565  rtems_fatal_code error
    6666)
  • c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c

    rb6606e8 r6a9282d  
    1717void bsp_fatal_extension(
    1818  rtems_fatal_source source,
    19   bool is_internal,
     19  bool always_set_to_false,
    2020  rtems_fatal_code error
    2121)
  • c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c

    rb6606e8 r6a9282d  
    55void bsp_fatal_extension(
    66  rtems_fatal_source source,
    7   bool is_internal,
     7  bool always_set_to_false,
    88  rtems_fatal_code error
    99)
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c

    rb6606e8 r6a9282d  
    1111void bsp_fatal_extension(
    1212  rtems_fatal_source source,
    13   bool is_internal,
     13  bool always_set_to_false,
    1414  rtems_fatal_code error
    1515)
  • c/src/lib/libbsp/powerpc/virtex4/startup/bspclean.c

    rb6606e8 r6a9282d  
    4242void bsp_fatal_extension(
    4343  rtems_fatal_source source,
    44   bool is_internal,
     44  bool always_set_to_false,
    4545  rtems_fatal_code error
    4646)
  • c/src/lib/libbsp/powerpc/virtex5/startup/bspclean.c

    rb6606e8 r6a9282d  
    4242void bsp_fatal_extension(
    4343  rtems_fatal_source source,
    44   bool is_internal,
     44  bool always_set_to_false,
    4545  rtems_fatal_code error
    4646)
  • c/src/lib/libbsp/shared/bspclean.c

    rb6606e8 r6a9282d  
    1414void bsp_fatal_extension(
    1515  rtems_fatal_source source,
    16   bool is_internal,
     16  bool always_set_to_false,
    1717  rtems_fatal_code code
    1818)
  • c/src/lib/libbsp/shared/include/default-initial-extension.h

    rb6606e8 r6a9282d  
    4040void bsp_fatal_extension(
    4141  rtems_fatal_source source,
    42   bool is_internal,
     42  bool always_set_to_false,
    4343  rtems_fatal_code error
    4444);
  • c/src/lib/libbsp/sparc/leon3/startup/bspclean.c

    rb6606e8 r6a9282d  
    2727void bsp_fatal_extension(
    2828  rtems_fatal_source source,
    29   bool is_internal,
     29  bool always_set_to_false,
    3030  rtems_fatal_code code
    3131)
  • c/src/lib/libbsp/sparc64/niagara/startup/bspclean.c

    rb6606e8 r6a9282d  
    1515void bsp_fatal_extension(
    1616  rtems_fatal_source source,
    17   bool is_internal,
     17  bool always_set_to_false,
    1818  rtems_fatal_code code
    1919)
  • c/src/libchip/shmdr/fatal.c

    rb6606e8 r6a9282d  
    2121void MPCI_Fatal(
    2222  rtems_fatal_source source,
    23   bool               is_internal,
     23  bool               always_set_to_false,
    2424  rtems_fatal_code   error
    2525)
  • cpukit/libmisc/stackchk/check.c

    rb6606e8 r6a9282d  
    437437  void rtems_stack_checker_fatal_extension(
    438438    Internal_errors_Source  source,
    439     bool                    is_internal,
     439    bool                    always_set_to_false,
    440440    uint32_t                status
    441441  )
  • cpukit/libmisc/testsupport/test.h

    rb6606e8 r6a9282d  
    4848void rtems_test_fatal_extension(
    4949  rtems_fatal_source source,
    50   bool is_internal,
     50  bool always_set_to_false,
    5151  rtems_fatal_code code
    5252);
  • cpukit/libmisc/testsupport/testextension.c

    rb6606e8 r6a9282d  
    2828void rtems_test_fatal_extension(
    2929  rtems_fatal_source source,
    30   bool is_internal,
     30  bool always_set_to_false,
    3131  rtems_fatal_code code
    3232)
     
    6969
    7070  (void) source;
    71   (void) is_internal;
     71  (void) always_set_to_false;
    7272  (void) code;
    7373}
  • cpukit/score/include/rtems/score/userext.h

    rb6606e8 r6a9282d  
    196196 * @param[in] source The fatal source indicating the subsystem the fatal
    197197 * condition originated in.
    198  * @param[in] is_internal This parameter is always false and provide only for
    199  * backward compatibility reasons.
     198 * @param[in] always_set_to_false This parameter is always set to false and
     199 * provided only for backward compatibility reasons.
    200200 * @param[in] code The fatal error code.  This value must be interpreted with
    201201 * respect to the source.
     
    203203typedef void( *User_extensions_fatal_extension )(
    204204  Internal_errors_Source source,
    205   bool                   is_internal,
     205  bool                   always_set_to_false,
    206206  Internal_errors_t      code
    207207);
  • testsuites/libtests/exit01/init.c

    rb6606e8 r6a9282d  
    5353static void fatal_extension(
    5454  rtems_fatal_source source,
    55   bool is_internal,
     55  bool always_set_to_false,
    5656  rtems_fatal_code error
    5757)
     
    5959  if (
    6060    source == RTEMS_FATAL_SOURCE_EXIT
    61       && !is_internal
     61      && !always_set_to_false
    6262      && error == EXIT_STATUS
    6363      && counter == 3
  • testsuites/libtests/exit02/init.c

    rb6606e8 r6a9282d  
    3838static void fatal_extension(
    3939  rtems_fatal_source source,
    40   bool is_internal,
     40  bool always_set_to_false,
    4141  rtems_fatal_code error
    4242)
     
    4444  if (
    4545    source == RTEMS_FATAL_SOURCE_EXIT
    46       && !is_internal
     46      && !always_set_to_false
    4747      && error == EXIT_STATUS
    4848  ) {
  • testsuites/libtests/stackchk/init.c

    rb6606e8 r6a9282d  
    9191void Fatal_extension(
    9292  rtems_fatal_source source,
    93   bool               is_internal,
     93  bool               always_set_to_false,
    9494  rtems_fatal_code   error
    9595)
     
    9797  if ( source != RTEMS_FATAL_SOURCE_STACK_CHECKER ) {
    9898    printk( "unexpected fatal source\n" );
    99   } else if ( is_internal ) {
     99  } else if ( always_set_to_false ) {
    100100    printk( "unexpected fatal is internal\n" );
    101101  } else if ( error != rtems_build_name( 'T', 'A', '1', ' ' ) ) {
  • testsuites/libtests/stackchk/system.h

    rb6606e8 r6a9282d  
    4545void Fatal_extension(
    4646  rtems_fatal_source source,
    47   bool               is_internal,
     47  bool               always_set_to_false,
    4848  rtems_fatal_code   error
    4949);
  • testsuites/psxtests/psxfatal_support/init.c

    rb6606e8 r6a9282d  
    6363void Fatal_extension(
    6464  rtems_fatal_source source,
    65   bool               is_internal,
     65  bool               always_set_to_false,
    6666  rtems_fatal_code   error
    6767)
     
    7878  }
    7979
    80   if ( is_internal )
     80  if ( always_set_to_false )
    8181    printk( "ERROR==> Fatal Extension is internal set to true expected false\n" );
    8282
     
    9191  if (
    9292    source == FATAL_ERROR_EXPECTED_SOURCE
    93       && !is_internal
     93      && !always_set_to_false
    9494      && error == FATAL_ERROR_EXPECTED_ERROR
    9595  ) {
  • testsuites/psxtests/psxfatal_support/system.h

    rb6606e8 r6a9282d  
    3737void Fatal_extension(
    3838  rtems_fatal_source source,
    39   bool               is_internal,
     39  bool               always_set_to_false,
    4040  rtems_fatal_code   error
    4141);
  • testsuites/smptests/smpfatal01/init.c

    rb6606e8 r6a9282d  
    4343static void fatal_extension(
    4444  rtems_fatal_source source,
    45   bool is_internal,
     45  bool always_set_to_false,
    4646  rtems_fatal_code code
    4747)
     
    5252    uint32_t self = rtems_get_current_processor();
    5353
    54     assert(!is_internal);
     54    assert(!always_set_to_false);
    5555    assert(code == SMP_FATAL_SHUTDOWN);
    5656
  • testsuites/smptests/smpfatal02/init.c

    rb6606e8 r6a9282d  
    4343static void fatal_extension(
    4444  rtems_fatal_source source,
    45   bool is_internal,
     45  bool always_set_to_false,
    4646  rtems_fatal_code code
    4747)
     
    5050  uint32_t self = rtems_get_current_processor();
    5151
    52   assert(!is_internal);
     52  assert(!always_set_to_false);
    5353
    5454  if ( source == RTEMS_FATAL_SOURCE_APPLICATION ) {
  • testsuites/smptests/smpfatal03/init.c

    rb6606e8 r6a9282d  
    6868static void fatal_extension(
    6969  rtems_fatal_source source,
    70   bool is_internal,
     70  bool always_set_to_false,
    7171  rtems_fatal_code code
    7272)
     
    7474  if (
    7575    source == INTERNAL_ERROR_CORE
    76       && !is_internal
     76      && !always_set_to_false
    7777      && code == INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE
    7878  ) {
  • testsuites/smptests/smpfatal04/init.c

    rb6606e8 r6a9282d  
    3535static void fatal_extension(
    3636  rtems_fatal_source source,
    37   bool is_internal,
     37  bool always_set_to_false,
    3838  rtems_fatal_code code
    3939)
     
    4343  if (
    4444    source == RTEMS_FATAL_SOURCE_SMP
    45       && !is_internal
     45      && !always_set_to_false
    4646      && code == SMP_FATAL_BOOT_PROCESSOR_NOT_ASSIGNED_TO_SCHEDULER
    4747  ) {
  • testsuites/smptests/smpfatal05/init.c

    rb6606e8 r6a9282d  
    3535static void fatal_extension(
    3636  rtems_fatal_source source,
    37   bool is_internal,
     37  bool always_set_to_false,
    3838  rtems_fatal_code code
    3939)
     
    4343  if (
    4444    source == RTEMS_FATAL_SOURCE_SMP
    45       && !is_internal
     45      && !always_set_to_false
    4646      && code == SMP_FATAL_MANDATORY_PROCESSOR_NOT_PRESENT
    4747  ) {
  • testsuites/smptests/smpfatal06/init.c

    rb6606e8 r6a9282d  
    3737static void fatal_extension(
    3838  rtems_fatal_source source,
    39   bool is_internal,
     39  bool always_set_to_false,
    4040  rtems_fatal_code code
    4141)
     
    4343  if (
    4444    source == INTERNAL_ERROR_CORE
    45       && !is_internal
     45      && !always_set_to_false
    4646      && code == INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT
    4747  ) {
  • testsuites/smptests/smpfatal08/init.c

    rb6606e8 r6a9282d  
    9292static void fatal_extension(
    9393  rtems_fatal_source source,
    94   bool is_internal,
     94  bool always_set_to_false,
    9595  rtems_fatal_code code
    9696)
     
    100100  if (
    101101    source == RTEMS_FATAL_SOURCE_SMP
    102       && !is_internal
     102      && !always_set_to_false
    103103      && code == SMP_FATAL_START_OF_MANDATORY_PROCESSOR_FAILED
    104104  ) {
  • testsuites/sptests/sperror01/init.c

    rb6606e8 r6a9282d  
    2626static void fatal_extension(
    2727  rtems_fatal_source source,
    28   bool is_internal,
     28  bool always_set_to_false,
    2929  rtems_fatal_code error
    3030)
     
    3232  if (
    3333    source == RTEMS_FATAL_SOURCE_EXIT
    34       && !is_internal
     34      && !always_set_to_false
    3535      && error == ENOMEM
    3636  ) {
  • testsuites/sptests/sperror02/init.c

    rb6606e8 r6a9282d  
    2626static void fatal_extension(
    2727  rtems_fatal_source source,
    28   bool is_internal,
     28  bool always_set_to_false,
    2929  rtems_fatal_code error
    3030)
     
    3232  if (
    3333    source == RTEMS_FATAL_SOURCE_EXIT
    34       && !is_internal
     34      && !always_set_to_false
    3535      && error == 1
    3636  ) {
  • testsuites/sptests/sperror03/init.c

    rb6606e8 r6a9282d  
    2323static void fatal_extension(
    2424  rtems_fatal_source source,
    25   bool is_internal,
     25  bool always_set_to_false,
    2626  rtems_fatal_code error
    2727)
     
    2929  if (
    3030    source == RTEMS_FATAL_SOURCE_EXIT
    31       && !is_internal
     31      && !always_set_to_false
    3232      && error == 0
    3333  ) {
  • testsuites/sptests/spextensions01/init.c

    rb6606e8 r6a9282d  
    143143static void zero_fatal(
    144144  rtems_fatal_source source,
    145   bool is_internal,
     145  bool always_set_to_false,
    146146  rtems_fatal_code code
    147147)
     
    202202static void one_fatal(
    203203  rtems_fatal_source source,
    204   bool is_internal,
     204  bool always_set_to_false,
    205205  rtems_fatal_code code
    206206)
     
    261261static void two_fatal(
    262262  rtems_fatal_source source,
    263   bool is_internal,
     263  bool always_set_to_false,
    264264  rtems_fatal_code code
    265265)
     
    322322static void three_fatal(
    323323  rtems_fatal_source source,
    324   bool is_internal,
     324  bool always_set_to_false,
    325325  rtems_fatal_code code
    326326)
  • testsuites/sptests/spfatal26/init.c

    rb6606e8 r6a9282d  
    6262static void fatal_extension(
    6363  rtems_fatal_source source,
    64   bool is_internal,
     64  bool always_set_to_false,
    6565  rtems_fatal_code code
    6666)
    6767{
    6868  rtems_test_assert( source == RTEMS_FATAL_SOURCE_EXCEPTION );
    69   rtems_test_assert( !is_internal );
     69  rtems_test_assert( !always_set_to_false );
    7070
    7171  rtems_exception_frame_print( (const rtems_exception_frame *) code );
  • testsuites/sptests/spfatal_support/init.c

    rb6606e8 r6a9282d  
    6666void Fatal_extension(
    6767  rtems_fatal_source source,
    68   bool               is_internal,
     68  bool               always_set_to_false,
    6969  rtems_fatal_code   error
    7070)
     
    8181  }
    8282
    83   if ( is_internal )
     83  if ( always_set_to_false )
    8484    printk(
    8585      "ERROR==> Fatal Extension is internal set to true expected false\n"
     
    9898  if (
    9999    source == FATAL_ERROR_EXPECTED_SOURCE
    100       && !is_internal
     100      && !always_set_to_false
    101101      && is_expected_error( error )
    102102  ) {
  • testsuites/sptests/spfatal_support/system.h

    rb6606e8 r6a9282d  
    2929void Fatal_extension(
    3030  rtems_fatal_source source,
    31   bool               is_internal,
     31  bool               always_set_to_false,
    3232  rtems_fatal_code   error
    3333);
  • testsuites/sptests/spinternalerror01/init.c

    rb6606e8 r6a9282d  
    3636static void fatal_extension(
    3737  Internal_errors_Source source,
    38   bool is_internal,
     38  bool always_set_to_false,
    3939  Internal_errors_t error
    4040)
     
    4242  TEST_BEGIN();
    4343
    44   if ( source == FATAL_SOURCE && !is_internal && error == FATAL_ERROR ) {
     44  if (
     45    source == FATAL_SOURCE
     46      && !always_set_to_false
     47      && error == FATAL_ERROR
     48  ) {
    4549    TEST_END();
    4650  }
  • testsuites/sptests/spmutex01/init.c

    rb6606e8 r6a9282d  
    690690static void fatal_extension(
    691691  rtems_fatal_source source,
    692   bool is_internal,
     692  bool always_set_to_false,
    693693  rtems_fatal_code error
    694694)
     
    697697  if (
    698698    source == INTERNAL_ERROR_CORE
    699       && !is_internal
     699      && !always_set_to_false
    700700      && error == INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK
    701701  ) {
  • testsuites/sptests/spsyslock01/init.c

    rb6606e8 r6a9282d  
    687687static void fatal_extension(
    688688  rtems_fatal_source source,
    689   bool is_internal,
     689  bool always_set_to_false,
    690690  rtems_fatal_code error
    691691)
     
    694694  if (
    695695    source == INTERNAL_ERROR_CORE
    696       && !is_internal
     696      && !always_set_to_false
    697697      && error == INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK
    698698  ) {
Note: See TracChangeset for help on using the changeset viewer.