Fixed typo

This commit is contained in:
Adam Greenwood-Byrne 2021-02-23 12:23:48 +00:00
parent 995bc2a522
commit 44669ee990
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ Previously, we've unequivocally halted the other cores by spinning them in an in
cbz x4, 1b // Loop if zero, otherwise continue cbz x4, 1b // Loop if zero, otherwise continue
ldr x2, =__stack_start // Get ourselves a fresh stack - location depends on CPU core asking ldr x2, =__stack_start // Get ourselves a fresh stack - location depends on CPU core asking
lsl x1, x1, #9 // Multiple core_number by 512 lsl x1, x1, #9 // Multiply core_number by 512
add x3, x2, x1 // Add to the address add x3, x2, x1 // Add to the address
mov sp, x3 mov sp, x3

View file

@ -29,7 +29,7 @@ _start:
cbz x4, 1b cbz x4, 1b
ldr x2, =__stack_start // Get ourselves a fresh stack - location depends on CPU core asking ldr x2, =__stack_start // Get ourselves a fresh stack - location depends on CPU core asking
lsl x1, x1, #9 // Multiple core_number by 512 lsl x1, x1, #9 // Multiply core_number by 512
add x3, x2, x1 // Add to the address add x3, x2, x1 // Add to the address
mov sp, x3 mov sp, x3