projects
/
ls2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix coldboot to boot from return address
[ls2.git]
/
coldboot
/
head.S
diff --git
a/coldboot/head.S
b/coldboot/head.S
index 38d5421d51f4a15a0ffd6a42b7c3783219de2312..d5b93dd62c3983303c57353dd183f4287acdcbdd 100644
(file)
--- a/
coldboot/head.S
+++ b/
coldboot/head.S
@@
-63,6
+63,10
@@
boot_entry:
LOAD_IMM64(%r12, main)
mtctr %r12,
bctrl
+ /* move return result to ctr and branch to it */
+ mtctr %r3
+ bctr
+ /* infinite loop */
b .
#define EXCEPTION(nr) \