mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 16:30:17 +00:00
tools/chainload.py: Fix 8b/16b copy confusion
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
95ef45fd11
commit
98d6e9bb4f
1 changed files with 3 additions and 3 deletions
|
@ -91,12 +91,12 @@ print(f"Copying stub...")
|
|||
|
||||
stub = asm.ARMAsm(f"""
|
||||
1:
|
||||
ldp x4, x5, [x1], #8
|
||||
ldp x4, x5, [x1], #16
|
||||
stp x4, x5, [x2]
|
||||
dc cvau, x2
|
||||
ic ivau, x2
|
||||
add x2, x2, #8
|
||||
sub x3, x3, #8
|
||||
add x2, x2, #16
|
||||
sub x3, x3, #16
|
||||
cbnz x3, 1b
|
||||
|
||||
ldr x1, ={entry}
|
||||
|
|
Loading…
Reference in a new issue