5
Last change
on this file since 5c6edee was
65807379,
checked in by Joel Sherrill <joel@…>, on 04/26/17 at 01:01:41
|
score/cpu/or1k/or1k-exception-frame-print.c: Fix printf() format warning
|
-
Property mode set to
100644
|
File size:
537 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 | #include <inttypes.h> |
---|
16 | |
---|
17 | void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ) |
---|
18 | { |
---|
19 | int i; |
---|
20 | |
---|
21 | for ( i = 0; i < 32; ++i ) { |
---|
22 | printk( "r%02i = 0x%016" PRIx32 "\n",i, frame->r[i]); |
---|
23 | } |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.