mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
fix a fat32 bug and some netboot bugs.
This commit is contained in:
1 parent
844cb6f07d
commit
1bb94397a5
8 files changed
+110
-42
No files matched your search
+3
-3
@@ -124,14 +124,14 @@ fat_create_blocklist (int first_fat_entry)
|
||||
}
|
||||
|
||||
first_fat_entry
|
||||
= *((unsigned short *) (FAT_BUF + (new_mapblock - mapblock)));
|
||||
= *((unsigned long *) (FAT_BUF + (new_mapblock - mapblock)));
|
||||
|
||||
if (fat_size == 3)
|
||||
{
|
||||
if (last_fat_entry & 1)
|
||||
first_fat_entry >>= 4;
|
||||
else
|
||||
first_fat_entry &= 0xFFF;
|
||||
|
||||
first_fat_entry &= 0xFFF;
|
||||
}
|
||||
else if (fat_size == 4)
|
||||
first_fat_entry &= 0xFFFF;
|
||||
|
||||
Reference in new issue
Block a user