Mercurial > flash_v2
diff 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 |
line wrap: on
line diff
--- a/packages/hal/common/current/src/hal_stub.c +++ b/packages/hal/common/current/src/hal_stub.c @@ -117,7 +117,13 @@ void #ifdef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT -typedef unsigned long t_inst; +#if (HAL_BREAKINST_SIZE == 2) +typedef cyg_uint16 t_inst; +#elif (HAL_BREAKINST_SIZE == 4) +typedef cyg_uint32 t_inst; +#else +#error "Don't know how to handle that size" +#endif typedef struct {
