diff packages/hal/common/current/src/hal_stub.c @ 30:641b639be825 ecos-sw-1999-08-16

Merge from eCos master repository on 1999-08-16-22:01:37-BST
author jlarmour
date Mon, 16 Aug 1999 22:10:49 +0000
parents 01ce82f3e11a
children 29bc183297e1
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,9 @@ void
 
 #ifdef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
 
-#if (HAL_BREAKINST_SIZE == 2)
+#if (HAL_BREAKINST_SIZE == 1)
+typedef cyg_uint8 t_inst;
+#elif (HAL_BREAKINST_SIZE == 2)
 typedef cyg_uint16 t_inst;
 #elif (HAL_BREAKINST_SIZE == 4)
 typedef cyg_uint32 t_inst;
@@ -421,11 +423,6 @@ int
         break;
     case CACHE_FLUSH:
         HAL_ICACHE_SYNC();
-#ifndef CYGPKG_HAL_MIPS
-        // SYNC and INVALIDATE_ALL are the same on the MIPS,
-        // so avoid doing it twice.
-        HAL_ICACHE_INVALIDATE_ALL();
-#endif        
         break;
     case CACHE_NOOP:
         /* fall through */
@@ -457,11 +454,6 @@ int
         break;
     case CACHE_FLUSH:
         HAL_DCACHE_SYNC();
-#ifndef CYGPKG_HAL_MIPS
-        // SYNC and INVALIDATE_ALL are the same on the MIPS,
-        // so avoid doing it twice.
-        HAL_DCACHE_INVALIDATE_ALL();
-#endif        
         break;
     case CACHE_NOOP:
         /* fall through */