X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fsetup.asm;h=f4d0ae733c6ef623387722f21e867cbd7dcbc4db;hp=9ddfcb3de91c4f33f1c865184cf5d778a2a1d77d;hb=57e3d7d1e671a261befef967b4a441e5d7dc2303;hpb=20885b915c6caf47c8bd78d7b5b492fef388ac2d diff --git a/palacios/src/geekos/setup.asm b/palacios/src/geekos/setup.asm index 9ddfcb3..f4d0ae7 100644 --- a/palacios/src/geekos/setup.asm +++ b/palacios/src/geekos/setup.asm @@ -1,7 +1,7 @@ ; -*- fundamental -*- ; GeekOS setup code ; Copyright (c) 2001,2004 David H. Hovemeyer -; $Revision: 1.3 $ +; $Revision: 1.4 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -88,16 +88,9 @@ setup_32: add eax, ebx push eax ; memSizeKB - mov eax, GUEST_SIZE - shl eax, 9 ; Multiply the guest size by 512 to get byte size - push eax ; Size of the guest kernel - - mov eax, 0x100000 - push eax ; Load address of the guest - mov eax, VMM_SIZE shl eax, 9 ; Multiply the vmm size by 512 to get byte size - push eax ; size of the VMM + push ebx ; size of the VMM push dword 8 ; bootInfoSize