* [ECOS] Memory layout sequence
@ 2000-08-19 23:10 장원호
2000-08-20 8:00 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: 장원호 @ 2000-08-19 23:10 UTC (permalink / raw)
To: ecos-discuss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4415 bytes --]
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [ECOS] Memory layout sequence
2000-08-19 23:10 [ECOS] Memory layout sequence 장원호
@ 2000-08-20 8:00 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2000-08-20 8:00 UTC (permalink / raw)
To: ÃÂÃ¥ÿøÃÂã
Cc: ecos-discuss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
On 20-Aug-2000 Ãå¿øã wrote:
> According to below, I did apply your patch,but no effect.
These changes are only affected by the boot environment, normally
GDB stubs. Are you trying to build stubs or a ROM-based program
for a PowerPC system other than one of our supported platforms?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-20 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-19 23:10 [ECOS] Memory layout sequence 장원호
2000-08-20 8:00 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).