diff options
| author | wdenk <wdenk> | 2003-06-27 21:31:46 +0000 | 
|---|---|---|
| committer | wdenk <wdenk> | 2003-06-27 21:31:46 +0000 | 
| commit | 8bde7f776c77b343aca29b8c7b58464d915ac245 (patch) | |
| tree | 20f1fd99975215e7c658454a15cdb4ed4694e2d4 /cpu/mpc5xx/interrupts.c | |
| parent | 993cad9364c6b87ae429d1ed1130d8153f6f027e (diff) | |
| download | olio-uboot-2014.01-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.xz olio-uboot-2014.01-8bde7f776c77b343aca29b8c7b58464d915ac245.zip | |
* Code cleanup:LABEL_2003_06_27_2340
  - remove trailing white space, trailing empty lines, C++ comments, etc.
  - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
* Patches by Kenneth Johansson, 25 Jun 2003:
  - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'cpu/mpc5xx/interrupts.c')
| -rw-r--r-- | cpu/mpc5xx/interrupts.c | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/cpu/mpc5xx/interrupts.c b/cpu/mpc5xx/interrupts.c index 282c3165d..461868000 100644 --- a/cpu/mpc5xx/interrupts.c +++ b/cpu/mpc5xx/interrupts.c @@ -17,12 +17,12 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation,  + * Foundation,   */  /*   * File:		interrupt.c - *  + *   * Discription:		Contains interrupt routines needed by U-Boot   *   */ @@ -46,7 +46,7 @@ struct interrupt_action {  static struct interrupt_action irq_vecs[NR_IRQS];  /* - * Local function prototypes  + * Local function prototypes   */  static __inline__ unsigned long get_msr (void)  { @@ -78,15 +78,15 @@ static __inline__ void set_dec (unsigned long val)  }  /* - * Enable interrupts  - */  + * Enable interrupts + */  void enable_interrupts (void)  {  	set_msr (get_msr () | MSR_EE);  } -/*  - * Returns flag if MSR_EE was set before  +/* + * Returns flag if MSR_EE was set before   */  int disable_interrupts (void)  { @@ -97,7 +97,7 @@ int disable_interrupts (void)  }  /* - * Initialise interrupts  + * Initialise interrupts   */  int interrupt_init (void) @@ -209,7 +209,7 @@ void irq_free_handler (int vec)  volatile ulong timestamp = 0;  /* - *  Timer interrupt - gets called when  bit 0 of DEC changes from  + *  Timer interrupt - gets called when  bit 0 of DEC changes from   *  0. Decrementer is enabled with bit TBE in TBSCR.   */  void timer_interrupt (struct pt_regs *regs) @@ -226,7 +226,7 @@ void timer_interrupt (struct pt_regs *regs)  	immr->im_clkrstk.cark_plprcrk = KAPWR_KEY;  	__asm__ ("nop");  	immr->im_clkrst.car_plprcr |= PLPRCR_TEXPS | PLPRCR_TMIST; -	 +  	/* Restore Decrementer Count */  	set_dec (decrementer_count); @@ -249,7 +249,7 @@ void timer_interrupt (struct pt_regs *regs)  }  /* - * Reset timer  + * Reset timer   */  void reset_timer (void)  { |