comparison packages/hal/powerpc/arch/current/src/hal_intr.c @ 68:f74b2666b30d ecos-sw-2000-02-04

Merge from eCos master repository on 2000-02-04-07:47:04-GMT
author jlarmour
date Fri, 04 Feb 2000 15:01:01 +0000
parents bf00f99aec69
children c5536bad4c24
comparison
equal deleted inserted replaced
67:34eb8438750d 68:f74b2666b30d
85 85
86 return isr_ret & Cyg_InterruptHANDLED; 86 return isr_ret & Cyg_InterruptHANDLED;
87 } 87 }
88 88
89 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 #ifdef CYG_HAL_POWERPC_MPC860 90 #ifdef CYGPKG_HAL_POWERPC_MPC860
91 91
92 // Since the interrupt sources do not have fixed vectors on the 860 92 // Since the interrupt sources do not have fixed vectors on the 860
93 // SIU, some arbitration is required. 93 // SIU, some arbitration is required.
94 94
95 // More than one interrupt source can be programmed to use the same 95 // More than one interrupt source can be programmed to use the same
234 &hal_arbitration_isr_cpm, ID_CPM, 0); 234 &hal_arbitration_isr_cpm, ID_CPM, 0);
235 HAL_INTERRUPT_UNMASK (CYGNUM_HAL_INTERRUPT_SIU_LVL7); 235 HAL_INTERRUPT_UNMASK (CYGNUM_HAL_INTERRUPT_SIU_LVL7);
236 HAL_INTERRUPT_SET_LEVEL (CYGNUM_HAL_INTERRUPT_SIU_CPM, 7); 236 HAL_INTERRUPT_SET_LEVEL (CYGNUM_HAL_INTERRUPT_SIU_CPM, 7);
237 HAL_INTERRUPT_UNMASK (CYGNUM_HAL_INTERRUPT_SIU_CPM); 237 HAL_INTERRUPT_UNMASK (CYGNUM_HAL_INTERRUPT_SIU_CPM);
238 } 238 }
239 #else // ifdef CYG_HAL_POWERPC_MPC860 239 #else // ifdef CYGPKG_HAL_POWERPC_MPC860
240 240
241 externC void 241 externC void
242 hal_IRQ_init(void) 242 hal_IRQ_init(void)
243 { 243 {
244 // Nothing special 244 // Nothing special
245 } 245 }
246 246
247 #endif // ifdef CYG_HAL_POWERPC_MPC860 247 #endif // ifdef CYGPKG_HAL_POWERPC_MPC860
248 248
249 // ------------------------------------------------------------------------- 249 // -------------------------------------------------------------------------
250 // EOF hal_intr.c 250 // EOF hal_intr.c