source: rtems/cpukit/score/cpu/or1k/or1k-exception-default.c @ 262a0d7

4.11
Last change on this file since 262a0d7 was 262a0d7, checked in by Hesham ALMatary <heshamelmatary@…>, on Mar 3, 2015 at 8:09:41 PM

or1k/or1k-exception-default.c: Eliminate dependency on BSP provided .h file

  • Property mode set to 100644
File size: 584 bytes
Line 
1/*
2 * COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com>
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#ifdef HAVE_CONFIG_H
10  #include "config.h"
11#endif
12
13#include <rtems/score/cpu.h>
14#include <rtems/fatal.h>
15#include <stdio.h>
16
17void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame);
18
19void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame)
20{
21  rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame );
22}
Note: See TracBrowser for help on using the repository browser.