diff packages/hal/arm/pid/current/src/pid_misc.c @ 112:02ea4320376c ecos-sw-2000-07-21

Merge from eCos master repository on 2000-07-21-21:01:39-BST
author jlarmour
date Fri, 21 Jul 2000 21:34:11 +0000
parents ff3f181b64bd
children 25e238959bae
line wrap: on
line diff
--- a/packages/hal/arm/pid/current/src/pid_misc.c
+++ b/packages/hal/arm/pid/current/src/pid_misc.c
@@ -132,9 +132,13 @@ void hal_hardware_init(void)
     // Any hardware/platform initialization that needs to be done.
     HAL_WRITE_UINT32(CYG_DEVICE_IRQ_EnableClear, 0xFFFF); // Clear all
                                                          // interrupt sources
-
+    // FIXME: The line with the thumb check is a hack, allowing
+    // the farm to run test. Problem is that virtual vector table
+    // API needs to be ARM/Thumb consistent. Will fix later.
+#ifndef __thumb__
     // Set up eCos/ROM interfaces
     hal_if_init();
+#endif
 }
 
 //