提交 160cc3ec 编写于 作者: M Milton Miller 提交者: Paul Mackerras

[POWERPC] bootwrapper: Allow platforms to call library zImage_start

Some platforms might need to run some code before the zImage start, but
could otherwise use the bss clear and relocation code.   Export the
start address strongly as zImage_start_lib.
Signed-off-by: NMilton Miller <miltonm@bga.com>
Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 6a923216
...@@ -19,6 +19,8 @@ _zimage_start_opd: ...@@ -19,6 +19,8 @@ _zimage_start_opd:
.weak _zimage_start .weak _zimage_start
.globl _zimage_start .globl _zimage_start
_zimage_start: _zimage_start:
.globl _zimage_start_lib
_zimage_start_lib:
/* Work out the offset between the address we were linked at /* Work out the offset between the address we were linked at
and the address where we're running. */ and the address where we're running. */
bl 1f bl 1f
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册