commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2 ChangeLog partmap/gpt.c util/i386/pc/grub...


From: Robert Millan
Subject: grub2 ChangeLog partmap/gpt.c util/i386/pc/grub...
Date: Tue, 19 Feb 2008 14:00:12 +0000

CVSROOT:        /sources/grub
Module name:    grub2
Changes by:     Robert Millan <robertmh>        08/02/19 14:00:12

Modified files:
        .              : ChangeLog 
        partmap        : gpt.c 
        util/i386/pc   : grub-setup.c 

Log message:
        2008-02-19  Robert Millan  <address@hidden>
        
                * partmap/gpt.c: Include `<grub/gpt_partition.h>'.
                (grub_gpt_partition_type_empty): Redefine with macro from
                `<grub/gpt_partition.h>'.
                (gpt_partition_map_iterate): Adjust partition type comparison.
        
                Export `entry' as partmap-specific `part.data' struct.
                (grub_gpt_header, grub_gpt_partentry): Move from here ...
        
                * include/grub/gpt_partition.h (grub_gpt_header)
                (grub_gpt_partentry): ... to here (new file).
        
                * util/i386/pc/grub-setup.c: Include `<grub/gpt_partition.h>'.
        
                (grub_gpt_partition_type_bios_boot): New const variable, defined
                with macro from `<grub/gpt_partition.h>'.
        
                (setup): Replace `first_start' with `embed_region', which keeps
                track of the embed region (and is partmap-agnostic).
        
                Replace find_first_partition_start() with find_usable_region(),
                which finds a usable region for embedding using partmap-specific
                knowledge (supports PC/MSDOS and GPT).
        
                Fix all assumptions that the embed region start at sector 1, 
using
                `embed_region.start' from now on.  Similarly, use 
`embed_region.end'
                rather than `first_start' to calculate available size.
        
                In grub_util_info() message, replace "into after the MBR" with 
an
                indication of the specific sector our embed region starts at.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/grub2/ChangeLog?cvsroot=grub&r1=1.593&r2=1.594
http://cvs.savannah.gnu.org/viewcvs/grub2/partmap/gpt.c?cvsroot=grub&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/grub2/util/i386/pc/grub-setup.c?cvsroot=grub&r1=1.33&r2=1.34




reply via email to

[Prev in Thread] Current Thread [Next in Thread]