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

4.11
Last change on this file since 39655741 was 94d45f6, checked in by Hesham ALMatary <heshamelmatary@…>, on Aug 12, 2014 at 3:57:42 PM

Add support for OpenRISC - Fixed issues

This work is based on the old or32 port (that has been
removed back in 2005) authored by Chris Ziomkowski. The patch includes the
basic functions every port should implement like: context switch, exception
handling, OpenRISC ABI and machine definitions and configurations.

  • Property mode set to 100644
File size: 616 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 <bsp/linker-symbols.h>
16#include <stdio.h>
17
18void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame);
19
20void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame)
21{
22  rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame );
23}
Note: See TracBrowser for help on using the repository browser.