Mercurial > flash_v2
comparison packages/hal/common/current/src/hal_stub.c @ 38:e7ba79f6d3a8 ecos-sw-1999-09-23
Merge from eCos master repository on 1999-09-23-20:10:25-BST
| author | jlarmour |
|---|---|
| date | Thu, 23 Sep 1999 19:52:27 +0000 |
| parents | 29bc183297e1 |
| children | 1370c5e55234 |
comparison
equal
deleted
inserted
replaced
| 37:0b25345c9c69 | 38:e7ba79f6d3a8 |
|---|---|
| 115 //----------------------------------------------------------------------------- | 115 //----------------------------------------------------------------------------- |
| 116 // GDB interrupt (BREAK) support. | 116 // GDB interrupt (BREAK) support. |
| 117 | 117 |
| 118 #ifdef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT | 118 #ifdef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT |
| 119 | 119 |
| 120 | |
| 120 #if (HAL_BREAKINST_SIZE == 1) | 121 #if (HAL_BREAKINST_SIZE == 1) |
| 121 typedef cyg_uint8 t_inst; | 122 typedef cyg_uint8 t_inst; |
| 122 #elif (HAL_BREAKINST_SIZE == 2) | 123 #elif (HAL_BREAKINST_SIZE == 2) |
| 123 typedef cyg_uint16 t_inst; | 124 typedef cyg_uint16 t_inst; |
| 124 #elif (HAL_BREAKINST_SIZE == 4) | 125 #elif (HAL_BREAKINST_SIZE == 4) |
| 159 __instruction_cache(CACHE_FLUSH); | 160 __instruction_cache(CACHE_FLUSH); |
| 160 return 1; | 161 return 1; |
| 161 } | 162 } |
| 162 return 0; | 163 return 0; |
| 163 } | 164 } |
| 165 | |
| 164 | 166 |
| 165 #endif // CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT | 167 #endif // CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT |
| 166 | 168 |
| 167 // Use this function to disable serial interrupts whenever reply | 169 // Use this function to disable serial interrupts whenever reply |
| 168 // characters are expected from GDB. The reason we want to control | 170 // characters are expected from GDB. The reason we want to control |
