diff packages/hal/arm/arch/current/include/hal_intr.h @ 145:2e9a636d9de9 ecos-sw-2000-12-21

Merge from eCos master repository on 2000-12-21-14:18:40-GMT
author jlarmour
date Fri, 22 Dec 2000 02:37:28 +0000
parents 6ed91473a1cd
children 8f2f7615e727
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/include/hal_intr.h
+++ b/packages/hal/arm/arch/current/include/hal_intr.h
@@ -53,7 +53,19 @@
 #include <pkgconf/hal.h>
 
 #include <cyg/infra/cyg_type.h>
-#include <cyg/hal/hal_platform_ints.h>
+
+// This is to allow a variant to decide that there is no platform-specific
+// interrupts file; and that in turn can be overridden by a platform that
+// refines the variant's ideas.
+#ifdef    CYGBLD_HAL_PLF_INTS_H
+# include CYGBLD_HAL_PLF_INTS_H // should include variant data as required
+#else 
+# ifdef    CYGBLD_HAL_VAR_INTS_H
+#  include CYGBLD_HAL_VAR_INTS_H
+# else
+#  include <cyg/hal/hal_platform_ints.h> // default less-complex platforms
+# endif
+#endif
 
 //--------------------------------------------------------------------------
 // ARM exception vectors.