source: rtems/cpukit/score/cpu/or1k/or1k-exception-frame-print.c @ 03e4be1

Last change on this file since 03e4be1 was 65807379, checked in by Joel Sherrill <joel@…>, on Apr 26, 2017 at 1:01:41 AM

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
17void _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.