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.


*** empty log message ***
[palacios.git] / palacios / src / geekos / defs.asm
index a3de829..6eca59b 100644 (file)
@@ -1,6 +1,6 @@
 ; Definitions for use in GeekOS boot code
 ; Copyright (c) 2001, David H. Hovemeyer <daveho@cs.umd.edu>
-; $Revision: 1.6 $
+; $Revision: 1.10 $
 
 ; This is free software.  You are permitted to use,
 ; redistribute, and modify it as specified in the file "COPYING".
 %ifndef DEFS_ASM
 %define DEFS_ASM
 
-VM_KERNEL_TARGET       equ 0x100000
+;Zheng 08/01/2008
+SYSSEG equ 0x1000
+COMMAND_LINE_SIZE equ 1024
+
+SETUPSECTS      equ 4            ; /* default nr of setup-sectors */
+SYSSIZE         equ 0x7f00       ; /* system size: # of 16-byte clicks */
+ROOT_DEV        equ 0            ; /* ROOT_DEV is now written by "build" */
+SWAP_DEV        equ 0            ; /* SWAP_DEV is now written by "build" */
+
+;VM_KERNEL_TARGET      equ 0x100000
        
 ; BIOS loads the boot sector at offset 0 in this segment
 BOOTSEG equ 0x07C0
@@ -37,7 +46,7 @@ KERNSEG equ 0x1000
 ;; Note that this segment must not colide with where the VMM kernel
 ;; is initially loaded.  At this point, we just place it in the last
 ;; 64K of RAM available before the ISA hole and hope for the best
-VMSEG equ 0x8000               ;
+ VMSEG equ 0x8000
 
 ; Size of PFAT boot record.
 ; Keep up to date with <geekos/pfat.h>.
@@ -54,7 +63,7 @@ VIDSEG equ 0xb800
 
 ; The following information is correct for a 1.44M floppy.
 ; Yes, I'm hard coding this.
-SECTORS_PER_TRACK equ 18
+;SECTORS_PER_TRACK equ 18      
 HEADS equ 2
 CYLINDERS equ 80