diff packages/kernel/current/src/common/clock.cxx @ 1703:81766aaddf79

Allow users to control the interrupt priority for the system clock, and allow HALs to define a suitable default value
author bartv
date Sun, 08 Aug 2004 21:12:25 +0000
parents de0e43840dee
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/packages/kernel/current/src/common/clock.cxx
+++ b/packages/kernel/current/src/common/clock.cxx
@@ -831,7 +831,9 @@ Cyg_RealTimeClock Cyg_RealTimeClock::rtc
 
 Cyg_RealTimeClock::Cyg_RealTimeClock()
     : Cyg_Clock(rtc_resolution),
-      interrupt(CYGNUM_HAL_INTERRUPT_RTC, 1, (CYG_ADDRWORD)this, isr, dsr)
+      interrupt(CYGNUM_HAL_INTERRUPT_RTC,
+                CYGNUM_KERNEL_COUNTERS_CLOCK_ISR_PRIORITY,
+                (CYG_ADDRWORD)this, isr, dsr)
 {
     CYG_REPORT_FUNCTION();