summaryrefslogtreecommitdiffstats
path: root/start.S
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-15 10:45:43 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-15 10:45:43 -0500
commitde80b963baf574b32661e153e01164aa6d8a5b44 (patch)
tree603d1c671c9b5110e2f11769f725ccf56f175a7f /start.S
parent5803fe54b79504bc5b82e29f1c862dda68c8e274 (diff)
downloadtalos-hostboot-de80b963baf574b32661e153e01164aa6d8a5b44.tar.gz
talos-hostboot-de80b963baf574b32661e153e01164aa6d8a5b44.zip
Update relocation code based on PowerISA sample code.
Diffstat (limited to 'start.S')
-rw-r--r--start.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/start.S b/start.S
index 57495d212..58d0b7e8b 100644
--- a/start.S
+++ b/start.S
@@ -37,17 +37,17 @@ pre_relocate:
;// Moving 1MB , so load r2 with (1MB / 8 bytes per word)
lis 2, 0x2
mtctr 2
-relocate_loop:
+relocate_loop:
+ ;// The dcbst/sync/icbi/isync sequence comes from PowerISA
ld 4, 0(1)
std 4, 0(5)
dcbst 0,5
sync
icbi 0,5
- sync
+ isync
addi 1,1,8
addi 5,5,8
bdnz+ relocate_loop
- isync
;// Now that we've relocated, erase exception prefix.
mfmsr 11
OpenPOWER on IntegriCloud