X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fdefs.asm;h=73c65f44df8f9e05567047d113a9614f1d1d7d51;hb=10d90467d53345f6b3c1ec575f34266253858333;hp=6c5ce1529bf2d95b565511ded83acdd9dcb3580d;hpb=ea2968665a3b24afca4a4a361926021b482b6c57;p=palacios.releases.git diff --git a/palacios/src/geekos/defs.asm b/palacios/src/geekos/defs.asm index 6c5ce15..73c65f4 100644 --- a/palacios/src/geekos/defs.asm +++ b/palacios/src/geekos/defs.asm @@ -1,6 +1,6 @@ ; Definitions for use in GeekOS boot code ; Copyright (c) 2001, David H. Hovemeyer -; $Revision: 1.8 $ +; $Revision: 1.9 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -16,7 +16,16 @@ %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