Changeset ead16ae1 in rtems


Ignore:
Timestamp:
Feb 19, 2015, 9:13:32 AM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
5da315f
Parents:
60b0fd5
git-author:
Daniel Hellstrom <daniel@…> (02/19/15 09:13:32)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:15)
Message:

leon3: always clear interrupt controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/amba/amba.c

    r60b0fd5 read16ae1  
    7474    icsel = (icsel >> ((7 - (LEON3_Cpu_Index & 0x7)) * 4)) & 0xf;
    7575    LEON3_IrqCtrl_Regs += icsel;
    76     LEON3_IrqCtrl_Regs->mask[LEON3_Cpu_Index] = 0;
    77     LEON3_IrqCtrl_Regs->force[LEON3_Cpu_Index] = 0;
    78     LEON3_IrqCtrl_Regs->iclear = 0xffffffff;
    7976  }
     77  LEON3_IrqCtrl_Regs->mask[LEON3_Cpu_Index] = 0;
     78  LEON3_IrqCtrl_Regs->force[LEON3_Cpu_Index] = 0;
     79  LEON3_IrqCtrl_Regs->iclear = 0xffffffff;
    8080
    8181  /* Init Extended IRQ controller if available */
Note: See TracChangeset for help on using the changeset viewer.