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

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