Ignore:
Timestamp:
Nov 29, 2009, 2:53:02 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 5, master
Children:
d4b4664b
Parents:
28352fae
Message:

Whitespace removal.

Location:
c/src/lib/libbsp/arm/shared/abort
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/abort/abort.c

    r28352fae r32b8506  
    1010 *  Copyright (c) 2002 Advent Networks, Inc
    1111 *      Jay Monkman <jmonkman@adventnetworks.com>
    12  * 
     12 *
    1313 *  If you want a small footprint RTEMS, pls use simple_abort.c
    14  * 
     14 *
    1515 *  The license and distribution terms for this file may be
    1616 *  found in the file LICENSE in this distribution or at
     
    5959        [0xf]="system" /* System */
    6060    };
    61    
     61
    6262
    6363void _print_full_context(uint32_t spsr)
     
    9595
    9696
    97 /* This function is supposed to figure out what caused the 
     97/* This function is supposed to figure out what caused the
    9898 * data abort, do that, then return.
    9999 *
     
    101101 */
    102102
    103 void do_data_abort(uint32_t   insn, uint32_t   spsr, 
     103void do_data_abort(uint32_t   insn, uint32_t   spsr,
    104104                    Context_Control *ctx)
    105105{
     
    111111    g_data_abort_insn_list[g_data_abort_cnt & 0x3ff] = ctx->register_lr - 8;
    112112    g_data_abort_cnt++;
    113    
     113
    114114    decode = ((insn >> 20) & 0xff);
    115115
     
    144144        break;
    145145    }
    146    
     146
    147147    printk("data_abort at address 0x%x, instruction: 0x%x,   spsr = 0x%x\n",
    148148           ctx->register_lr - 8, insn, spsr);
  • c/src/lib/libbsp/arm/shared/abort/simple_abort.c

    r28352fae r32b8506  
    1212 *
    1313 *  This is a simple implement of abort
    14  *   
     14 *
    1515 *  The license and distribution terms for this file may be
    1616 *  found in the file LICENSE in this distribution or at
     
    100100
    101101
    102 /* This function is supposed to figure out what caused the 
     102/* This function is supposed to figure out what caused the
    103103 * data abort, do that, then return.
    104104 *
     
    108108void do_data_abort(
    109109  uint32_t         insn,
    110   uint32_t         spsr, 
     110  uint32_t         spsr,
    111111  Context_Control *ctx
    112112)
     
    150150    break;
    151151  }
    152    
     152
    153153  printk("data_abort at address 0x%x, instruction: 0x%x,   spsr = 0x%x\n",
    154154         ctx->register_lr - 8, insn, spsr);
Note: See TracChangeset for help on using the changeset viewer.