summaryrefslogtreecommitdiffstats
path: root/start.S
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-17 16:11:59 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-17 16:11:59 -0500
commit4324ee74d2a77c20704323dae57762b36301ea8a (patch)
treead536ea60f40cd920f22e2397d67527958543e8f /start.S
parentde80b963baf574b32661e153e01164aa6d8a5b44 (diff)
downloadtalos-hostboot-4324ee74d2a77c20704323dae57762b36301ea8a.tar.gz
talos-hostboot-4324ee74d2a77c20704323dae57762b36301ea8a.zip
Load base TOC and create kernel stack.
Diffstat (limited to 'start.S')
-rw-r--r--start.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/start.S b/start.S
index 58d0b7e8b..86eed054a 100644
--- a/start.S
+++ b/start.S
@@ -60,6 +60,12 @@ relocate_loop:
blr
finished_relocate:
+ ;// Set up initial TOC Base
+ lis 2, opd_load_address@h
+ ori 2, 2, opd_load_address@l
+ ld 2,8(2)
+
+ ;// Jump to main.
b _main
.org _start + 0x100
OpenPOWER on IntegriCloud