Changeset 78b83601 in rtems


Ignore:
Timestamp:
Jul 23, 2021, 2:00:10 PM (2 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
827c6ca
Parents:
350f501a
git-author:
Sebastian Huber <sebastian.huber@…> (07/23/21 14:00:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/23/21 14:01:30)
Message:

bsps: Fix bsp_fatal_extension()

The heap protection is conditional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/start/bspfatal-default.c

    r350f501a r78b83601  
    1212#include <rtems/bspIo.h>
    1313#include <rtems/version.h>
     14#include <rtems/score/heap.h>
    1415#include <rtems/score/threadimpl.h>
    1516#include <inttypes.h>
     
    7576        rtems_internal_error_text( code )
    7677      );
     78    #if defined(HEAP_PROTECTION)
    7779    } else if ( source == RTEMS_FATAL_SOURCE_HEAP ) {
    7880      Heap_Error_context *error_context = (Heap_Error_context*) code;
     
    109111        printk( "\n" );
    110112      }
     113    #endif
    111114    } else if ( source != RTEMS_FATAL_SOURCE_EXIT || code != 0 ) {
    112115      printk(
Note: See TracChangeset for help on using the changeset viewer.