diff packages/hal/powerpc/arch/current/src/hal_mk_defs.c @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents 435cced73e2f
children a9ac27ec7abc
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/src/hal_mk_defs.c
+++ b/packages/hal/powerpc/arch/current/src/hal_mk_defs.c
@@ -44,6 +44,7 @@
 //==========================================================================
 
 #include <pkgconf/hal.h>
+#include CYGHWR_MEMORY_LAYOUT_H     
 
 #include <cyg/hal/hal_arch.h>           // HAL header
 #include <cyg/hal/hal_intr.h>           // HAL header
@@ -124,6 +125,14 @@ main(void)
 #ifdef CYGPKG_HAL_POWERPC_MPC8xx
     DEFINE(CYGNUM_HAL_VECTOR_NMI, CYGNUM_HAL_VECTOR_NMI);
 #endif
+
+    // Memory layout values (since these aren't "asm"-safe)
+#ifdef CYGMEM_REGION_rom    
+    DEFINE(CYGMEM_REGION_rom, CYGMEM_REGION_rom);
+#endif
+#ifdef CYGMEM_REGION_ram    
+    DEFINE(CYGMEM_REGION_ram, CYGMEM_REGION_ram);
+#endif
 }
 
 //--------------------------------------------------------------------------