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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cpu/] [or1k/] [except.c] - Diff between revs 556 and 572

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 556 Rev 572
Line 105... Line 105...
    mtspr(SPR_EPCR_BASE, pending.saved);
    mtspr(SPR_EPCR_BASE, pending.saved);
  else if (except == EXCEPT_TRAP)
  else if (except == EXCEPT_TRAP)
    mtspr(SPR_EPCR_BASE, pending.saved);
    mtspr(SPR_EPCR_BASE, pending.saved);
  else if (except == EXCEPT_RANGE)
  else if (except == EXCEPT_RANGE)
    mtspr(SPR_EPCR_BASE, pending.saved);
    mtspr(SPR_EPCR_BASE, pending.saved);
 
  else if (except == EXCEPT_ITLBMISS)
 
    mtspr(SPR_EPCR_BASE, pending.saved);
 
  else if (except == EXCEPT_IPF)
 
    mtspr(SPR_EPCR_BASE, pending.saved);
  else
  else
    mtspr(SPR_EPCR_BASE, pc_saved);
    mtspr(SPR_EPCR_BASE, pc_saved);
 
 
  mtspr(SPR_EEAR_BASE, ea);
  mtspr(SPR_EEAR_BASE, ea);
  mtspr(SPR_ESR_BASE, mfspr(SPR_SR));
  mtspr(SPR_ESR_BASE, mfspr(SPR_SR));

powered by: WebSVN 2.1.0

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