diff packages/hal/arm/cma230/current/src/cma230_misc.c @ 110:84e4bde58b26 ecos-sw-2000-07-14

Merge from eCos master repository on 2000-07-14-22:00:02-BST
author jlarmour
date Mon, 17 Jul 2000 14:42:27 +0000
parents bf00f99aec69
children f935b880e96c
line wrap: on
line diff
--- a/packages/hal/arm/cma230/current/src/cma230_misc.c
+++ b/packages/hal/arm/cma230/current/src/cma230_misc.c
@@ -47,6 +47,7 @@
 #include <cyg/infra/cyg_trac.h>         // tracing macros
 #include <cyg/infra/cyg_ass.h>          // assertion macros
 
+#include <cyg/hal/hal_if.h>             // calling interface API
 #include <cyg/hal/hal_io.h>             // IO macros
 #include <cyg/hal/hal_arch.h>           // Register state info
 #include <cyg/hal/hal_diag.h>
@@ -110,6 +111,9 @@ void hal_hardware_init(void)
     // Reset all interrupt masks (disable all interrupt sources)
     *(volatile cyg_uint8 *)CMA230_IMRw = 0;
     *(volatile cyg_uint8 *)CMA230_CLR = 0xFF;  // Clear all current interrupts
+
+    // Set up eCos/ROM interfaces
+    hal_if_init();
 }
 
 //