[ECOS] Memory layout sequence
장원호
whjang@acrowave.com
Sat Aug 19 23:10:00 GMT 2000
According to below, I did apply your patch,but no
effect.
ÃÂ
ÃÂ
ÃÂ
ÃÂ
Index:
hal/powerpc/arch/current/ChangeLog =================================================================== RCS
file: /local/cvsfiles/ecc/ecc/hal/powerpc/arch/current/ChangeLog,v retrieving
revision 1.224 diff -u -5 -p -r1.224 ChangeLog ---
hal/powerpc/arch/current/ChangeLogÃÂ 2000/06/28
09:45:12ÃÂ ÃÂ ÃÂ ÃÂ 1.224 +++
hal/powerpc/arch/current/ChangeLogÃÂ 2000/08/15 11:04:02 @@ -1,5 +1,9
@@ +2000-08-15ÃÂ Gary ThomasÃÂ < gthomas@redhat.com > + +ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
* src/hal_mk_defs.c: Export memory layout for use by assembly
code. + ÃÂ 2000-06-27ÃÂ Jesper SkovÃÂ < jskov@redhat.com > ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
* src/vectors.S: Removed
unnecessary ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT checks. ÃÂ Index:
hal/powerpc/arch/current/src/hal_mk_defs.c =================================================================== RCS
file:
/local/cvsfiles/ecc/ecc/hal/powerpc/arch/current/src/hal_mk_defs.c,v retrieving
revision 1.3 diff -u -5 -p -r1.3 hal_mk_defs.c ---
hal/powerpc/arch/current/src/hal_mk_defs.cÃÂ 2000/02/22
10:14:53ÃÂ ÃÂ ÃÂ ÃÂ 1.3 +++
hal/powerpc/arch/current/src/hal_mk_defs.cÃÂ 2000/08/15 11:04:03 @@
-42,10 +42,11 @@ ÃÂ file://####DESCRIPTIONEND#### ÃÂ // ÃÂ file://========================================================================== ÃÂ ÃÂ #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 ÃÂ #ifdef CYGPKG_KERNEL ÃÂ # include
<pkgconf/kernel.h> @@ -121,10 +122,18 @@
main(void) ÃÂ ÃÂ ÃÂ ÃÂ DEFINE(CYGNUM_HAL_VSR_COUNT,
CYGNUM_HAL_VSR_COUNT); ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ // Variant
definitions - want these to be included instead. ÃÂ #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 ÃÂ } ÃÂ ÃÂ file://-------------------------------------------------------------------------- ÃÂ //
EOF hal_mk_defs.c Index:
hal/powerpc/mbx/current/ChangeLog =================================================================== RCS
file: /local/cvsfiles/ecc/ecc/hal/powerpc/mbx/current/ChangeLog,v retrieving
revision 1.61 diff -u -5 -p -r1.61 ChangeLog ---
hal/powerpc/mbx/current/ChangeLogÃÂ ÃÂ 2000/06/28
09:45:17ÃÂ ÃÂ ÃÂ ÃÂ 1.61 +++
hal/powerpc/mbx/current/ChangeLogÃÂ ÃÂ 2000/08/15 11:03:16 @@ -1,5
+1,9 @@ +2000-08-15ÃÂ Gary ThomasÃÂ < gthomas@redhat.com > + +ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
* src/mbx.S: Use actual ROM layout instead of magic
numbers. + ÃÂ 2000-06-28ÃÂ Jesper SkovÃÂ < jskov@redhat.com > ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
* include/hal_diag.h: ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ *
src/hal_diag.c: ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
Cleanup. Index:
hal/powerpc/mbx/current/src/mbx.S =================================================================== RCS
file: /local/cvsfiles/ecc/ecc/hal/powerpc/mbx/current/src/mbx.S,v retrieving
revision 1.15 diff -u -5 -p -r1.15 mbx.S ---
hal/powerpc/mbx/current/src/mbx.SÃÂ ÃÂ 2000/02/21
14:55:13ÃÂ ÃÂ ÃÂ ÃÂ 1.15 +++
hal/powerpc/mbx/current/src/mbx.SÃÂ ÃÂ 2000/08/15 11:01:34 @@ -402,11
+402,11 @@ FUNC_START( hal_hardware_init ) ÃÂ ÃÂ #ifdef
CYG_HAL_STARTUP_ROM ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ # move return
address to where the ROM is ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
mflrÃÂ ÃÂ ÃÂ r3 ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
andi.ÃÂ ÃÂ r3,r3,0xffff -ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
orisÃÂ ÃÂ ÃÂ r3,r3,0xfe00 +ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
orisÃÂ ÃÂ ÃÂ
r3,r3,CYGMEM_REGION_rom>>16 ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
mtlrÃÂ ÃÂ ÃÂ
r3 ÃÂ #endif ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
blr ÃÂ FUNC_END( hal_hardware_init )
ÃÂ
ÃÂ
ÃÂ
It is not changed to the rom address into *.ldi. What is
referred to make two file *.ldi and *.mlt in the ecos configuration tool
?
ÃÂ
Thank you.
More information about the Ecos-discuss
mailing list