mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Add LBA support
This commit is contained in:
1 parent
17b6dcd892
commit
5223272174
8 files changed
+147
-32
No files matched your search
+3
-3
@@ -48,8 +48,8 @@
|
||||
/*
|
||||
* BIOS disk defines
|
||||
*/
|
||||
#define BIOSDISK_SUBFUNC_READ 0x2
|
||||
#define BIOSDISK_SUBFUNC_WRITE 0x3
|
||||
#define BIOSDISK_READ 0x0
|
||||
#define BIOSDISK_WRITE 0x1
|
||||
#define BIOSDISK_ERROR_GEOMETRY 0x100
|
||||
|
||||
/*
|
||||
@@ -287,7 +287,7 @@ __attribute__ ((noreturn));
|
||||
|
||||
/* low-level disk I/O */
|
||||
int get_diskinfo (int drive);
|
||||
int biosdisk (int subfunc, int drive, int geometry,
|
||||
int biosdisk (int read, int drive, int geometry,
|
||||
int sector, int nsec, int segment);
|
||||
void stop_floppy (void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user