mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
2008-05-30 Robert Millan <rmh@aybabtu.com>
* util/biosdisk.c (map): Redefine structure to hold information
about GRUB drive name.
(get_drive): Reimplement without assuming (and verifiing) BIOS-like
drive names.
(call_hook): Remove.
(grub_util_biosdisk_iterate): Access drive names via `.drive' struct
member. Assume drive has partitions.
(grub_util_biosdisk_open): Access device names via `.device' struct
member.
(open_device): Likewise.
(find_drive): Likewise.
(read_device_map): Adjust map[] usage to match the new struct
definition. Don't check for duplicates (still possible, but not cheap
anymore).
(grub_util_biosdisk_fini): Free malloced buffers referenced by map[].
(make_device_name): Remove assumption of BIOS-like drive names.
This commit is contained in:
1 parent
bbb64db0d3
commit
01b73ec8eb
2 files changed
+73
-59
No files matched your search
@@ -1,3 +1,22 @@
|
||||
2008-05-30 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/biosdisk.c (map): Redefine structure to hold information
|
||||
about GRUB drive name.
|
||||
(get_drive): Reimplement without assuming (and verifiing) BIOS-like
|
||||
drive names.
|
||||
(call_hook): Remove.
|
||||
(grub_util_biosdisk_iterate): Access drive names via `.drive' struct
|
||||
member. Assume drive has partitions.
|
||||
(grub_util_biosdisk_open): Access device names via `.device' struct
|
||||
member.
|
||||
(open_device): Likewise.
|
||||
(find_drive): Likewise.
|
||||
(read_device_map): Adjust map[] usage to match the new struct
|
||||
definition. Don't check for duplicates (still possible, but not cheap
|
||||
anymore).
|
||||
(grub_util_biosdisk_fini): Free malloced buffers referenced by map[].
|
||||
(make_device_name): Remove assumption of BIOS-like drive names.
|
||||
|
||||
2008-05-30 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Remove, as
|
||||
|
||||
Reference in new issue
Block a user