comparison packages/hal/common/current/src/hal_misc.c @ 138:289bf90c6a9b

Merge from eCos master repository on 2000-11-24-06:43:05-GMT
author jlarmour
date Fri, 24 Nov 2000 07:49:02 +0000
parents 6ed91473a1cd
children 25e238959bae
comparison
equal deleted inserted replaced
137:eb9861b635da 138:289bf90c6a9b
133 #ifndef CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN 133 #ifndef CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN
134 #if CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT 134 #if CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
135 int gdb_vector = -1; 135 int gdb_vector = -1;
136 // This check only to avoid crash on older stubs in case of unhandled 136 // This check only to avoid crash on older stubs in case of unhandled
137 // interrupts. It is a bit messy, but required in a transition period. 137 // interrupts. It is a bit messy, but required in a transition period.
138 if (CYGNUM_CALL_IF_TABLE_VERSION+1 == CYGACC_CALL_IF_VERSION()) { 138 #ifndef CYGSEM_HAL_ROM_MONITOR
139 if (CYGNUM_CALL_IF_TABLE_VERSION+1 == CYGACC_CALL_IF_VERSION())
140 #endif
141 {
139 hal_virtual_comm_table_t* comm = CYGACC_CALL_IF_DEBUG_PROCS(); 142 hal_virtual_comm_table_t* comm = CYGACC_CALL_IF_DEBUG_PROCS();
140 gdb_vector = CYGACC_COMM_IF_CONTROL(*comm, __COMMCTL_DBG_ISR_VECTOR); 143 gdb_vector = CYGACC_COMM_IF_CONTROL(*comm, __COMMCTL_DBG_ISR_VECTOR);
141 } 144 }
142 if( vector == gdb_vector ) 145 if( vector == gdb_vector )
143 #else 146 #else