URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 432 |
Rev 436 |
Line 153... |
Line 153... |
}
|
}
|
break;
|
break;
|
case SPR_PICSR:
|
case SPR_PICSR:
|
if(!config.pic.edge_trigger)
|
if(!config.pic.edge_trigger)
|
/* When configured with level triggered interrupts we clear PICSR in PIC
|
/* When configured with level triggered interrupts we clear PICSR in PIC
|
when IRQ goes low */
|
peripheral model when incoming IRQ goes low */
|
cpu_state.sprs[SPR_PICSR] = prev_val;
|
cpu_state.sprs[SPR_PICSR] = prev_val;
|
break;
|
break;
|
case SPR_PICMR:
|
case SPR_PICMR:
|
/* If we have non-maskable interrupts, then the bottom two bits are always
|
/* If we have non-maskable interrupts, then the bottom two bits are always
|
one. */
|
one. */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.