diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-05-15 10:45:43 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-05-15 10:45:43 -0500 |
commit | de80b963baf574b32661e153e01164aa6d8a5b44 (patch) | |
tree | 603d1c671c9b5110e2f11769f725ccf56f175a7f /start.S | |
parent | 5803fe54b79504bc5b82e29f1c862dda68c8e274 (diff) | |
download | talos-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.S | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |