OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [tags/] [rel-0-3-0-rc3/] [or1ksim/] [tick/] [tick.c] - Diff between revs 1540 and 1545

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)
{
{

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.