[U-Boot-Users] relocate_code

Wolfgang Denk wd at denx.de
Sat Jan 4 09:08:45 CET 2003


In message <3E164AC7.1050505 at sohu.com> you wrote:
>
>     Why we copy _forward_ when  _memory address_ <CFG_MONITOR_BASE, but 
> when _memory address_>=CFG_MONITOR_BASE we will have to _copy backword_? 
>  Is it because some overlapping problem when copy?

Right (although not very likely here).

> >(the destination address) is >= "r4" (the source address) i.e. if it is
> >possible that the copy will overwrite the source.
> >
>     thanks, I know

Ummmm... Why do you ask when you already know?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The only perfect science is hind-sight.




More information about the U-Boot mailing list