source: rtems/bsps/powerpc/shared/exceptions/ppc_exc_global_handler.c @ bd150801

5
Last change on this file since bd150801 was bd150801, checked in by Sebastian Huber <sebastian.huber@…>, on 03/13/18 at 15:24:16

bsps/powerpc: Move exceptions support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 618 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup ppc_exc
5 *
6 * @brief PowerPC Exceptions implementation.
7 */
8
9/*
10 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr)
11 *                    Canon Centre Recherche France.
12 *
13 * Derived from file "libcpu/powerpc/new-exceptions/bspsupport/vectors_init.c".
14 *
15 * The license and distribution terms for this file may be
16 * found in the file LICENSE in this distribution or at
17 * http://www.rtems.org/license/LICENSE.
18 */
19
20#include <bsp/vectors.h>
21
22void C_exception_handler(BSP_Exception_frame *excPtr)
23{
24  rtems_fatal(
25    RTEMS_FATAL_SOURCE_EXCEPTION,
26    (rtems_fatal_code) excPtr
27  );
28}
Note: See TracBrowser for help on using the repository browser.