Skip to content

Commit

Permalink
- Rewrite branch instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Nov 29, 2024
1 parent 4b6f74d commit 2b7c57b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions cube/packer/source/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,12 @@ startup:
blt 2b

li r3, 0x1800
lwzu r0, 4 (r3)
xoris r0, r0, 0x5354
cmpwi r0, 0x5542
bne premain
lwz r0, 4 (r3)
xoris r0, r0, 0x4841
cmpwi r0, 0x5858
bne premain

li r0, 0
lis r0, 0x4E80
ori r0, r0, 0x0020
stw r0, 0 (r3)
stw r0, 4 (r3)
dcbst 0, r3
sync
icbi 0, r3

premain:
li r3, 0
Expand Down

0 comments on commit 2b7c57b

Please sign in to comment.