From 958696be616aaaa4fe18fc2b886216f191bb6f9b Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 13 Feb 2022 01:54:51 -0700 Subject: Mutex Waiting Implemented Svc 4 and 5 --- src/boot.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/boot.S') diff --git a/src/boot.S b/src/boot.S index e4da373..6b04301 100644 --- a/src/boot.S +++ b/src/boot.S @@ -1,9 +1,9 @@ // To keep this in the first portion of the binary. .section ".text.boot" - + // Make _start global. .globl _start - + _start: reset: cpsid aif @@ -32,7 +32,7 @@ reset: ldr sp, =core0_sys_stack cps #0x13 // Setup sp in SVC mode. ldr sp, =core0_svc_stack - + // Clear out bss. ldr r4, =__bss_start ldr r9, =__bss_end @@ -41,10 +41,10 @@ reset: mov r7, #0 mov r8, #0 b 2f - + 1: // store multiple at r4. stmia r4!, {r5-r8} - + 2: // If we are still below bss_end, loop. cmp r4, r9 blo 1b -- cgit v1.2.1