X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fsetup.asm;h=9ddfcb3de91c4f33f1c865184cf5d778a2a1d77d;hb=1cc11b811dd67e1023f9a4584853f516b7a61a41;hp=d49a373faab91f6645267c1dc0d23e40ca705639;hpb=190b2ef9470c23c275754b74745933d973f8c439;p=palacios.git diff --git a/palacios/src/geekos/setup.asm b/palacios/src/geekos/setup.asm index d49a373..9ddfcb3 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.2 $ +; $Revision: 1.3 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -89,12 +89,14 @@ setup_32: 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 dword 8 ; bootInfoSize