All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] why jump at absolute address in start.S
@ 2003-01-03  3:47 Laudney Ren
  2003-01-03  6:15 ` Murray Jensen
  2003-01-03  8:23 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Laudney Ren @ 2003-01-03  3:47 UTC (permalink / raw)
  To: u-boot

I'm reading cpu/mpc8xx/start.S and found the following:

        /*
          * Calculate absolute address in FLASH and jump there
          */

         lis     r3, CFG_MONITOR_BASE at h
         ori     r3, r3, CFG_MONITOR_BASE at l
         addi    r3, r3, in_flash - _start + EXC_OFF_SYS_RESET
         mtlr    r3
         blr

Why do we need to calculate the absolutely address?
Why should we do it here, instead of everywhere?

Thanks.
Laudney

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <00656285.C21188@sjtu.edu.cn>]

end of thread, other threads:[~2003-01-03 13:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03  3:47 [U-Boot-Users] why jump at absolute address in start.S Laudney Ren
2003-01-03  6:15 ` Murray Jensen
2003-01-03  8:23   ` Wolfgang Denk
2003-01-03 13:37     ` Murray Jensen
2003-01-03 13:19   ` Laudney Ren
2003-01-03 13:48     ` Murray Jensen
2003-01-03  8:23 ` Wolfgang Denk
     [not found] <00656285.C21188@sjtu.edu.cn>
2003-01-03 13:44 ` Jerry Van Baren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.