Changeset 600d88d in rtems


Ignore:
Timestamp:
Jul 19, 2017, 7:07:17 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
146adb1
Parents:
a400d06f
git-author:
Sebastian Huber <sebastian.huber@…> (07/19/17 07:07:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/25/17 09:41:11)
Message:

INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT

Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT.

Update #3077.

Files:
8 added
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/startup/spurious.c

    ra400d06f r600d88d  
    134134  };
    135135
     136  if ( SPARC_REAL_TRAP_NUMBER( trap ) == 4 ) {
     137    _Internal_error( INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT );
     138  }
     139
    136140  rtems_fatal(
    137141    RTEMS_FATAL_SOURCE_EXCEPTION,
  • c/src/lib/libbsp/sparc/leon2/startup/spurious.c

    ra400d06f r600d88d  
    121121  };
    122122
     123  if ( SPARC_REAL_TRAP_NUMBER( trap ) == 4 ) {
     124    _Internal_error( INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT );
     125  }
     126
    123127  rtems_fatal(
    124128    RTEMS_FATAL_SOURCE_EXCEPTION,
  • c/src/lib/libbsp/sparc/leon3/startup/spurious.c

    ra400d06f r600d88d  
    120120  };
    121121
     122  if ( SPARC_REAL_TRAP_NUMBER( trap ) == 4 ) {
     123    _Internal_error( INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT );
     124  }
     125
    122126  rtems_fatal(
    123127    RTEMS_FATAL_SOURCE_EXCEPTION,
  • cpukit/sapi/src/interrtext.c

    ra400d06f r600d88d  
    88
    99/*
    10  * Copyright (c) 2012, 2016 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2012, 2017 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    6565  "INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED",
    6666  "INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED",
    67   "INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED"
     67  "INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED",
     68  "INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT"
    6869};
    6970
  • cpukit/score/include/rtems/score/interr.h

    ra400d06f r600d88d  
    178178  INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED = 35,
    179179  INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED = 36,
    180   INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED = 37
     180  INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED = 37,
     181  INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT = 38
    181182} Internal_errors_Core_list;
    182183
  • testsuites/sptests/Makefile.am

    ra400d06f r600d88d  
    3535    sptask_err04 spclock_err01
    3636_SUBDIRS += spfatal29
     37_SUBDIRS += spfatal30
     38_SUBDIRS += spfatal31
    3739_SUBDIRS += spmutex01
    3840_SUBDIRS += spextensions01
  • testsuites/sptests/configure.ac

    ra400d06f r600d88d  
    3737# Explicitly list all Makefiles here
    3838AC_CONFIG_FILES([Makefile
     39spfatal31/Makefile
     40spfatal30/Makefile
    3941spmutex01/Makefile
    4042spextensions01/Makefile
  • testsuites/sptests/spinternalerror02/init.c

    ra400d06f r600d88d  
    11/*
    2  * Copyright (c) 2012, 2016 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2012, 2017 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    3737
    3838  rtems_test_assert(
    39     error - 3 == INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED
     39    error - 3 == INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT
    4040  );
    4141}
Note: See TracChangeset for help on using the changeset viewer.