Skip to content

Commit 13474ee

Browse files
dp111pelwell
authored andcommitted
Speedup as there are no caches enabled at this point.
1 parent 1fa37cc commit 13474ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

armstubs/armstub.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
.globl _start
3030
/* the vector table */
3131
_start:
32+
ldrd r2, r3, atags @ loads atags into r2 and kernel into r3
3233
mov r0, #0
3334
ldr r1, machid
34-
ldr r2, atags
35-
ldr pc, kernel
35+
bx pc, r3
3636

3737
machid: .word 3138
3838

0 commit comments

Comments
 (0)