URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/bootloaders/orpmon/drivers
- from Rev 246 to Rev 355
- ↔ Reverse comparison
Rev 246 → Rev 355
/tick.c
10,11 → 10,12
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | ((IN_CLK/TICKS_PER_SEC) & SPR_TTMR_PERIOD)); |
} |
|
// No longer called - timpstamp variable incremented in vector code in reset.S |
void tick_interrupt(void) |
{ |
timestamp++; |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | ((IN_CLK/TICKS_PER_SEC) & SPR_TTMR_PERIOD)); |
spincursor(); // Check if we want to spin the cursor... |
//spincursor(); // Check if we want to spin the cursor... |
} |
|
/* |