URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1540 |
Rev 1545 |
Line 73... |
Line 73... |
if(cpu_state.sprs[SPR_SR] & SPR_SR_TEE)
|
if(cpu_state.sprs[SPR_SR] & SPR_SR_TEE)
|
except_handle(EXCEPT_TICK, cpu_state.sprs[SPR_EEAR_BASE]);
|
except_handle(EXCEPT_TICK, cpu_state.sprs[SPR_EEAR_BASE]);
|
|
|
/* Reschedule unconditionally, since we have to raise the exception until
|
/* Reschedule unconditionally, since we have to raise the exception until
|
* TTMR_IP has been cleared */
|
* TTMR_IP has been cleared */
|
SCHED_ADD(tick_raise_except, NULL, 1);
|
sched_next_insn(tick_raise_except, NULL);
|
}
|
}
|
|
|
/* Restarts the tick timer */
|
/* Restarts the tick timer */
|
void tick_restart(void *dat)
|
void tick_restart(void *dat)
|
{
|
{
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.