2008-03-28 Robert Millan <rmh@aybabtu.com>

Surpass 1 TiB disk addressing limit.  Note: there are no plans to handle
        the 2 TiB disk limit in GRUB Legacy, since that would need considerable
        rework.  If you have >2TiB disks, use GRUB 2 instead.

        * grub/asmstub.c (biosdisk): Add unsigned qualifier to `sector'.
        * stage2/bios.c (biosdisk): Likewise.
        * stage2/disk_io.c (rawread, devread, rawwrite, devwrite): Likewise.
        * stage2/shared.h (rawread, devread, rawwrite, devwrite): Likewise.
        * lib/device.c (get_drive_geometry): Replace BLKGETSIZE with
        BLKGETSIZE64.
This commit is contained in:
robertmh committed 2008-03-28 13:22:28 +00:00
1 parent bce46bf7f1
commit fe11b298f6
6 files changed
+31 -18

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ extern int get_diskinfo_floppy (int drive,
return the error number. Otherwise, return 0. */
int
biosdisk (int read, int drive, struct geometry *geometry,
int sector, int nsec, int segment)
unsigned int sector, int nsec, int segment)
{
int err;