public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [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).