4.115
Last change
on this file since 94d45f6 was
94d45f6,
checked in by Hesham ALMatary <heshamelmatary@…>, on 08/12/14 at 15:57:42
|
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
|
Rev | Line | |
---|
[94d45f6] | 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 | |
---|
| 18 | void _OR1K_Exception_default(uint32_t vector, CPU_Exception_frame *frame); |
---|
| 19 | |
---|
| 20 | void _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.