diff kernel/arch/qemu_vexpress/start.asm @ 404:a284749c5729

Improved build scripts
author Windel Bouwman
date Thu, 19 Feb 2015 14:08:17 +0100
parents 2ec730e45ea1
children b1daa462ee17
line wrap: on
line diff
--- a/kernel/arch/qemu_vexpress/start.asm	Thu Feb 19 12:17:05 2015 +0100
+++ b/kernel/arch/qemu_vexpress/start.asm	Thu Feb 19 14:08:17 2015 +0100
@@ -1,3 +1,6 @@
+
+; This file contains the low level assembly code required for interrupt
+; handling and virtual memory.
 
 section reset
 
@@ -14,6 +17,8 @@
 
 start:
 
+; Setup the memory manager and the stack before entering kernel
+
 ; Setup TTBR1 (translation table base register)
 
 ldr r0, =kernel_table0    ; pseudo instruction which loads the value of the symbol
@@ -40,7 +45,7 @@
 
 ; Setup stack:
 mov sp, 0x30000
-BL kernel_start          ; Branch to main (this is actually in the interrupt vector)
+BL kernel_start  ; Branch to main (this is actually in the interrupt vector)
 local_loop:
 B local_loop