summaryrefslogtreecommitdiff
path: root/entry.S
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2016-08-10 11:22:36 -0400
committerRobert Morris <[email protected]>2016-08-10 11:22:36 -0400
commit0a69dc9b1745e863f0c16e50dba78804ba0925f7 (patch)
tree4cd73d59b7e56ca994f9e7dbfc297733a210aefc /entry.S
parent858475e4dfabb61dc72ab5b4f105e2a0a636e7e8 (diff)
downloadxv6-labs-0a69dc9b1745e863f0c16e50dba78804ba0925f7.tar.gz
xv6-labs-0a69dc9b1745e863f0c16e50dba78804ba0925f7.tar.bz2
xv6-labs-0a69dc9b1745e863f0c16e50dba78804ba0925f7.zip
even more explicit that entry.S is linked into kernel, unlike bootasm.S.
Diffstat (limited to 'entry.S')
-rw-r--r--entry.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/entry.S b/entry.S
index 5f4e124..bc79bab 100644
--- a/entry.S
+++ b/entry.S
@@ -1,3 +1,7 @@
+# The xv6 kernel starts executing in this file. This file is linked with
+# the kernel C code, so it can refer to kernel symbols such as main().
+# The boot block (bootasm.S and bootmain.c) jumps to entry below.
+
# Multiboot header, for multiboot boot loaders like GNU Grub.
# http://www.gnu.org/software/grub/manual/multiboot/multiboot.html
#