Support 2010 Macbooks.
* grub-core/loader/efi/appleloader.c (devpath_6): New variable. (devs): Add devpath_6.
This commit is contained in:
parent
7c515bee14
commit
7fae005102
2 changed files with 40 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2011-05-05 Zach <mikezackles>
|
||||||
|
|
||||||
|
Support 2010 Macbooks.
|
||||||
|
|
||||||
|
* grub-core/loader/efi/appleloader.c (devpath_6): New variable.
|
||||||
|
(devs): Add devpath_6.
|
||||||
|
|
||||||
2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
|
* util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not
|
||||||
|
|
|
@ -229,6 +229,38 @@ static struct piwg_full_device_path devpath_5 =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* mid-2010 MB/MBP (NVidia chipset) */
|
||||||
|
static struct piwg_full_device_path devpath_6 =
|
||||||
|
{
|
||||||
|
.comp1 =
|
||||||
|
{
|
||||||
|
.header = {
|
||||||
|
.type = GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE,
|
||||||
|
.subtype = GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE,
|
||||||
|
.length = {sizeof (struct grub_efi_memory_mapped_device_path), 0}
|
||||||
|
},
|
||||||
|
.memory_type = GRUB_EFI_MEMORY_MAPPED_IO,
|
||||||
|
.start_address = 0xffcc4000,
|
||||||
|
.end_address = 0xffffbfff
|
||||||
|
},
|
||||||
|
.comp2 =
|
||||||
|
{
|
||||||
|
.header = {
|
||||||
|
.type = GRUB_EFI_MEDIA_DEVICE_PATH_TYPE,
|
||||||
|
.subtype = GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE,
|
||||||
|
.length = {sizeof (struct grub_efi_piwg_device_path), 0}
|
||||||
|
},
|
||||||
|
.guid = {0x2B0585EB, 0xD8B8, 0x49A9, {0x8B, 0x8C, 0xE2, 0x1B,
|
||||||
|
0x01, 0xAE, 0xF2, 0xB7}}
|
||||||
|
},
|
||||||
|
.end =
|
||||||
|
{
|
||||||
|
.type = GRUB_EFI_END_DEVICE_PATH_TYPE,
|
||||||
|
.subtype = GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE,
|
||||||
|
.length = {sizeof (struct grub_efi_device_path), 0}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
struct devdata
|
struct devdata
|
||||||
{
|
{
|
||||||
char *model;
|
char *model;
|
||||||
|
@ -242,6 +274,7 @@ struct devdata devs[] =
|
||||||
{"MBP", (grub_efi_device_path_t *) &devpath_3},
|
{"MBP", (grub_efi_device_path_t *) &devpath_3},
|
||||||
{"MBA", (grub_efi_device_path_t *) &devpath_4},
|
{"MBA", (grub_efi_device_path_t *) &devpath_4},
|
||||||
{"MB NV", (grub_efi_device_path_t *) &devpath_5},
|
{"MB NV", (grub_efi_device_path_t *) &devpath_5},
|
||||||
|
{"MB NV2", (grub_efi_device_path_t *) &devpath_6},
|
||||||
{NULL, NULL},
|
{NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue