]> git.proxmox.com Git - grub2.git/commit
2008-05-30 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Fri, 30 May 2008 10:50:00 +0000 (10:50 +0000)
committerrobertmh <robertmh@localhost>
Fri, 30 May 2008 10:50:00 +0000 (10:50 +0000)
commit01b73ec8eb429ef58412e50a53894ece0c348b96
tree661720b095c550c492e5f78b01ff79cf533e5510
parentbbb64db0d3b5eafed7e7d2f2a44f7cc77e5b2c06
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.
ChangeLog
util/biosdisk.c