4.115
Last change
on this file since 700f97e 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:
510 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/bspIo.h> |
---|
15 | |
---|
16 | void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ) |
---|
17 | { |
---|
18 | uint32_t i; |
---|
19 | for ( i = 0; i < 32; ++i ) { |
---|
20 | printk( "r%02i = 0x%016x\n",i, frame->r[i]); |
---|
21 | } |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.