From: Lei Xia Date: Thu, 28 Aug 2008 19:46:44 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: 1.0~57 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=857093d3d4c89e549e80309ba70960653f906180;p=palacios-OLD.git *** empty log message *** --- diff --git a/palacios/src/geekos/fd_boot.asm b/palacios/src/geekos/fd_boot.asm index 7aa231b..6f40f2c 100644 --- a/palacios/src/geekos/fd_boot.asm +++ b/palacios/src/geekos/fd_boot.asm @@ -1,7 +1,7 @@ ; Boot sector for GeekOS ; Copyright (c) 2001,2004 David H. Hovemeyer ; Copyright (c) 2003, Jeffrey K. Hollingsworth -; $Revision: 1.7 $ +; $Revision: 1.8 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -34,22 +34,6 @@ [ORG 0x0] BeginText: ; needed to calculate padding bytes to fill the sector - ;; temporalily for io performance test - mov dx, 0x995 - mov eax, 0x12345678 - out dx, eax - mov dx, 0x999 - xor eax, eax - cpuid - rdtsc - ;; mov [time], eax - ;; mov eax, 0x12345678 - out dx, eax - cpuid - rdtsc - sub eax, [time] - out dx, eax - ; Copy the boot sector into INITSEG. mov ax, BOOTSEG mov ds, ax ; source segment for string copy @@ -116,7 +100,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 @@ -384,8 +368,6 @@ bootsect_dst_base: dw 0 ; ! limit16,base24 =0 dw 0,0,0,0 ; ! BIOS CS dw 0,0,0,0 ; ! BIOS DS -time: - dw 0,0 ; Padding to make the PFAT Boot Record sit just before the BIOS signature.