예제 #1
0
파일: hal_intr.c 프로젝트: EPiCS/reconos_v2
externC void hal_IRQ_init(void)
{
	// No architecture general initialization, but the variant may have
	// provided some.
	hal_variant_IRQ_init();
	
	// Initialize real-time clock (for delays, etc, even if kernel doesn't use it)
	// Set max period
	HAL_CLOCK_INITIALIZE(CYGNUM_HAL_RTC_PERIOD);
}
예제 #2
0
파일: var_intr.c 프로젝트: perryhg/terkos
externC void
hal_IRQ_init(void)
{
    int i;

    /* yes this is a quick fix; arch.inc should be changed, but this is
     * good enough for now */
    for (i=0; i <= CYGNUM_HAL_INTERRUPT_5;++i )
		HAL_INTERRUPT_MASK (i);

    hal_variant_IRQ_init();
}