mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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:
1 parent
bce46bf7f1
commit
fe11b298f6
6 files changed
+31
-18
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user