Mercurial > ecos-v3_0-branch
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 42 //####DESCRIPTIONEND#### | 42 //####DESCRIPTIONEND#### |
| 43 // | 43 // |
| 44 //========================================================================== | 44 //========================================================================== |
| 45 | 45 |
| 46 #include <pkgconf/hal.h> | 46 #include <pkgconf/hal.h> |
| 47 #include CYGHWR_MEMORY_LAYOUT_H | |
| 47 | 48 |
| 48 #include <cyg/hal/hal_arch.h> // HAL header | 49 #include <cyg/hal/hal_arch.h> // HAL header |
| 49 #include <cyg/hal/hal_intr.h> // HAL header | 50 #include <cyg/hal/hal_intr.h> // HAL header |
| 50 #ifdef CYGPKG_KERNEL | 51 #ifdef CYGPKG_KERNEL |
| 51 # include <pkgconf/kernel.h> | 52 # include <pkgconf/kernel.h> |
| 122 | 123 |
| 123 // Variant definitions - want these to be included instead. | 124 // Variant definitions - want these to be included instead. |
| 124 #ifdef CYGPKG_HAL_POWERPC_MPC8xx | 125 #ifdef CYGPKG_HAL_POWERPC_MPC8xx |
| 125 DEFINE(CYGNUM_HAL_VECTOR_NMI, CYGNUM_HAL_VECTOR_NMI); | 126 DEFINE(CYGNUM_HAL_VECTOR_NMI, CYGNUM_HAL_VECTOR_NMI); |
| 126 #endif | 127 #endif |
| 128 | |
| 129 // Memory layout values (since these aren't "asm"-safe) | |
| 130 #ifdef CYGMEM_REGION_rom | |
| 131 DEFINE(CYGMEM_REGION_rom, CYGMEM_REGION_rom); | |
| 132 #endif | |
| 133 #ifdef CYGMEM_REGION_ram | |
| 134 DEFINE(CYGMEM_REGION_ram, CYGMEM_REGION_ram); | |
| 135 #endif | |
| 127 } | 136 } |
| 128 | 137 |
| 129 //-------------------------------------------------------------------------- | 138 //-------------------------------------------------------------------------- |
| 130 // EOF hal_mk_defs.c | 139 // EOF hal_mk_defs.c |
