Mercurial > flash_v2
comparison packages/hal/common/current/src/hal_misc.c @ 112:02ea4320376c ecos-sw-2000-07-21
Merge from eCos master repository on 2000-07-21-21:01:39-BST
| author | jlarmour |
|---|---|
| date | Fri, 21 Jul 2000 21:34:11 +0000 |
| parents | 7f461c3a372c |
| children | 6ed91473a1cd |
comparison
equal
deleted
inserted
replaced
| 111:211b8a635ce9 | 112:02ea4320376c |
|---|---|
| 129 #ifndef CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN | 129 #ifndef CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN |
| 130 #if CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT | 130 #if CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT |
| 131 int gdb_vector = -1; | 131 int gdb_vector = -1; |
| 132 // This check only to avoid crash on older stubs in case of unhandled | 132 // This check only to avoid crash on older stubs in case of unhandled |
| 133 // interrupts. It is a bit messy, but required in a transition period. | 133 // interrupts. It is a bit messy, but required in a transition period. |
| 134 if (CYGNUM_CALL_IF_TABLE_VERSION == CYGACC_CALL_IF_VERSION()) { | 134 if (CYGNUM_CALL_IF_TABLE_VERSION+1 == CYGACC_CALL_IF_VERSION()) { |
| 135 hal_virtual_comm_table_t* comm = CYGACC_CALL_IF_DEBUG_PROCS(); | 135 hal_virtual_comm_table_t* comm = CYGACC_CALL_IF_DEBUG_PROCS(); |
| 136 gdb_vector = CYGACC_COMM_IF_CONTROL(*comm, __COMMCTL_DBG_ISR_VECTOR); | 136 gdb_vector = CYGACC_COMM_IF_CONTROL(*comm, __COMMCTL_DBG_ISR_VECTOR); |
| 137 } | 137 } |
| 138 if( vector == gdb_vector ) | 138 if( vector == gdb_vector ) |
| 139 #else | 139 #else |
