/[grub]/grub/stage2/start.S
ViewVC logotype

Diff of /grub/stage2/start.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by okuji, Mon Nov 12 06:57:29 2001 UTC revision 1.8 by okuji, Sun Dec 30 08:23:16 2001 UTC
# Line 1  Line 1 
1  /*  /*
2   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
3   *  Copyright (C) 1999,2000   Free Software Foundation, Inc.   *  Copyright (C) 1999,2000,2001   Free Software Foundation, Inc.
4   *   *
5   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
6   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 96  lba_mode: Line 96  lba_mode:
96          /* load logical sector start */          /* load logical sector start */
97          movl    (%di), %ebx          movl    (%di), %ebx
98    
         /* check for the geometry */  
 #ifdef NO_BUGGY_BIOS_IN_THE_WORLD  
         cmpl    %ecx, %ebx  
         jge     geometry_error  
 #endif /* NO_BUGGY_BIOS_IN_THE_WORLD */  
   
99          /* the maximum is limited to 0x7f because of Phoenix EDD */          /* the maximum is limited to 0x7f because of Phoenix EDD */
100          xorl    %eax, %eax          xorl    %eax, %eax
101          movb    $0x7f, %al          movb    $0x7f, %al

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26