Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added copyright tags
[palacios.git] / palacios / src / geekos / fd_boot.asm
index 2fbfd35..1250665 100644 (file)
@@ -1,7 +1,9 @@
 ; Boot sector for GeekOS
 ; Copyright (c) 2001,2004 David H. Hovemeyer <daveho@cs.umd.edu>
 ; Copyright (c) 2003, Jeffrey K. Hollingsworth <hollings@cs.umd.edu>
-; $Revision: 1.6 $
+; Copyright (c) 2008, Jack Lange <jarusl@cs.northwestern.edu
+; Copyright (c) 2008, Peter Dinda <pdinda@northwestern.edu
+; $Revision: 1.8 $
 
 ; This is free software.  You are permitted to use,
 ; redistribute, and modify it as specified in the file "COPYING".
@@ -34,7 +36,6 @@
 [ORG 0x0]
 
 BeginText:     ; needed to calculate padding bytes to fill the sector
-
        ; Copy the boot sector into INITSEG.
        mov     ax, BOOTSEG
        mov     ds, ax                  ; source segment for string copy
@@ -101,7 +102,7 @@ load_kernel:
        ; Figure out start sector and max sector
 
        mov     ax, word [kernelStart]
-       mov     word [sec_count], ax
+       mov     word [sec_count], aX
        add     ax, word [kernelSize]
        mov     word [max_sector], ax