Mercurial > flash_v2
comparison packages/hal/common/current/src/hal_stub.c @ 12:4cc3eff958ab ecos-sw-1999-06-04
Merge from eCos master repository on 1999-06-04-22:24:56-BST
| author | jlarmour |
|---|---|
| date | Fri, 04 Jun 1999 15:08:16 +0000 |
| parents | d3fbcdfa1b2f |
| children | 01ce82f3e11a |
comparison
equal
deleted
inserted
replaced
| 11:0efcb019050f | 12:4cc3eff958ab |
|---|---|
| 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 typedef unsigned long t_inst; | 120 #if (HAL_BREAKINST_SIZE == 2) |
| 121 typedef cyg_uint16 t_inst; | |
| 122 #elif (HAL_BREAKINST_SIZE == 4) | |
| 123 typedef cyg_uint32 t_inst; | |
| 124 #else | |
| 125 #error "Don't know how to handle that size" | |
| 126 #endif | |
| 121 | 127 |
| 122 typedef struct | 128 typedef struct |
| 123 { | 129 { |
| 124 t_inst *targetAddr; | 130 t_inst *targetAddr; |
| 125 t_inst savedInstr; | 131 t_inst savedInstr; |
