~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to partmap/gpt.c

ImportĀ upstreamĀ versionĀ 1.97~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <grub/mm.h>
23
23
#include <grub/partition.h>
24
24
#include <grub/dl.h>
25
 
#include <grub/pc_partition.h>
 
25
#include <grub/msdos_partition.h>
26
26
#include <grub/gpt_partition.h>
27
27
 
28
28
static grub_uint8_t grub_gpt_magic[8] =
45
45
  struct grub_gpt_header gpt;
46
46
  struct grub_gpt_partentry entry;
47
47
  struct grub_disk raw;
48
 
  struct grub_pc_partition_mbr mbr;
 
48
  struct grub_msdos_partition_mbr mbr;
49
49
  grub_uint64_t entries;
50
50
  unsigned int i;
51
51
  int last_offset = 0;
176
176
/* Partition map type.  */
177
177
static struct grub_partition_map grub_gpt_partition_map =
178
178
  {
179
 
    .name = "gpt_partition_map",
 
179
    .name = "part_gpt",
180
180
    .iterate = gpt_partition_map_iterate,
181
181
    .probe = gpt_partition_map_probe,
182
182
    .get_name = gpt_partition_map_get_name