gpt: start new GPT module

This module is a new implementation for reading GUID Partition Tables
which is much stricter than the existing part_gpt module and exports GPT
data directly instead of the generic grub_partition structure. It will
be the basis for modules that need to read/write/update GPT data.

The current code does nothing more than read and verify the table.
This commit is contained in:
Michael Marineau 2014-09-28 21:26:21 -07:00
parent 28b0af948e
commit f82f65f338
6 changed files with 837 additions and 0 deletions

View file

@ -826,6 +826,11 @@ module = {
common = commands/gptsync.c;
};
module = {
name = gpt;
common = lib/gpt.c;
};
module = {
name = halt;
nopc = commands/halt.c;