/[grub]/grub/stage2/builtins.c
ViewVC logotype

Diff of /grub/stage2/builtins.c

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

revision 1.141 by okuji, Wed Dec 4 04:43:23 2002 UTC revision 1.142 by okuji, Tue Dec 10 17:30:29 2002 UTC
# Line 1916  install_func (char *arg, int flags) Line 1916  install_func (char *arg, int flags)
1916    
1917    /* Set the "force LBA" flag.  */    /* Set the "force LBA" flag.  */
1918    *((unsigned char *) (stage1_buffer + STAGE1_FORCE_LBA)) = is_force_lba;    *((unsigned char *) (stage1_buffer + STAGE1_FORCE_LBA)) = is_force_lba;
1919    
1920      /* Set the boot drive mask. This is a workaround for buggy BIOSes which
1921         don't pass boot drive correctly. Instead, they pass 0x00 even when
1922         booted from 0x80.  */
1923      *((unsigned char *) (stage1_buffer + STAGE1_BOOT_DRIVE_MASK))
1924        = (dest_drive & BIOS_FLAG_FIXED_DISK);
1925        
1926    /* Read the first sector of Stage 2.  */    /* Read the first sector of Stage 2.  */
1927    disk_read_hook = disk_read_savesect_func;    disk_read_hook = disk_read_savesect_func;

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

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