diff packages/hal/common/current/src/generic-stub.c @ 138:289bf90c6a9b

Merge from eCos master repository on 2000-11-24-06:43:05-GMT
author jlarmour
date Fri, 24 Nov 2000 07:49:02 +0000
parents a9ac27ec7abc
children 2e9a636d9de9
line wrap: on
line diff
--- a/packages/hal/common/current/src/generic-stub.c
+++ b/packages/hal/common/current/src/generic-stub.c
@@ -1266,6 +1266,7 @@ int
 
         __data_cache (CACHE_FLUSH) ;
         __instruction_cache (CACHE_FLUSH) ;
+	hal_flush_output();
 #endif
 
         return -1;
@@ -1273,6 +1274,9 @@ int
 
       /* kill the program */
     case 'k' :
+#ifdef __ECOS__
+      hal_flush_output();
+#endif
       __process_exit_vec ();
       return 1;