]> git.ipfire.org Git - thirdparty/grub.git/commit
Move embedding routines to partmap sources files.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 19:36:57 +0000 (21:36 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 19:36:57 +0000 (21:36 +0200)
commite50fca4a4c7ec7597456a5e2e0d166c20c719ecc
tree5453707f0c20347877058b425f75030782e8cabb
parente9fc4da271612c22fb98d104ea872ef848a95b5d
Move embedding routines to partmap sources files.

* grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot)
[GRUB_UTIL]: New variable.
(gpt_partition_map_iterate): Set part.parent.
(gpt_partition_map_embed) [GRUB_UTIL]: New function.
(grub_gpt_partition_map) [GRUB_UTIL]: Set .embed.
* grub-core/partmap/msdos.c (pc_partition_map_embed) [GRUB_UTIL]:
New function.
(grub_msdos_partition_map) [GRUB_UTIL]: Set .embed.
* include/grub/partition.h (grub_embed_type_t) [GRUB_UTIL]: New type.
(grub_partition_map) [GRUB_UTIL]: New field embed.
* util/grub-setup.c (grub_gpt_partition_type_bios_boot): Removed.
(setup): Use ->embed.
ChangeLog
grub-core/partmap/gpt.c
grub-core/partmap/msdos.c
include/grub/partition.h
util/grub-setup.c