diff options
Diffstat (limited to 'boot/common-boot.s')
| -rw-r--r-- | boot/common-boot.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/common-boot.s b/boot/common-boot.s index a6fb04e..2a192d3 100644 --- a/boot/common-boot.s +++ b/boot/common-boot.s @@ -425,6 +425,9 @@ _memcpy: addi a0, a0, 1 addi a1, a1, 1 + addi a2, a2, -1 + + j .Lmemcpy_loop .Lmemcpy_end: mv a0, t0 @@ -473,6 +476,8 @@ _strings_index: beqz a0, .Lstrings_index_end .Lstrings_index_next: + # Advance the pointer, reduce the length. + lw a2, (s2) addi s2, s2, 4 add s2, s2, a2 addi s1, s1, -1 |
