2002-09-14 Joel Sherrill <joel@OARcorp.com>

* clock/clock.c: Per PR257, remove reference to c3x_set_ie.
	c4x variant should use c4x_set_iie().
This commit is contained in:
Joel Sherrill
2002-09-14 19:57:24 +00:00
parent 536f5f949e
commit c98110a8f7
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2002-09-14 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Per PR257, remove reference to c3x_set_ie.
c4x variant should use c4x_set_iie().
2002-08-21 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Added support for -nostdlibs.

View File

@@ -136,7 +136,11 @@ void Install_clock(
c4x_timer_set_period( C4X_TIMER_0, Clock_counter_register_value );
c4x_timer_start( C4X_TIMER_0 );
#if defined(_C4x)
c4x_set_iee( c4x_get_iie() | 0x1 ); /* should be ETINT0 */
#else
c3x_set_ie( c3x_get_ie() | 0x100 );
#endif
/*
* If ticks_per_timeslice is configured as non-zero, then the user