2006-07-11 Joel Sherrill <joel@OARcorp.com>

* clock/ckinit.c: Actually call the routine to find the LEON3 time.
This commit is contained in:
Joel Sherrill
2006-07-11 22:27:28 +00:00
parent 83df49f697
commit 1a3ddc1004
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2006-07-11 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c: Actually call the routine to find the LEON3 time.
2006-07-11 Joel Sherrill <joel@OARcorp.com>
* leon_greth/.cvsignore, leon_greth/leon_greth.c: New files.

View File

@@ -157,6 +157,8 @@ void Install_clock(
{
Clock_driver_ticks = 0;
LEON3_Find_timer();
clkirq = (LEON3_Timer_Regs->status & 0xfc) >> 3;
if ( BSP_Configuration.ticks_per_timeslice ) {