2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Cleanup NetBSD root support. * loader/i386/bsd.c (grub_netbsd_boot): Remove call to grub_bsd_get_device. Fix typo.
This commit is contained in:
parent
3b76e68ba7
commit
beefc59841
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Cleanup NetBSD root support.
|
||||
|
||||
* loader/i386/bsd.c (grub_netbsd_boot): Remove call to
|
||||
grub_bsd_get_device.
|
||||
Fix typo.
|
||||
|
||||
2009-08-25 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* util/grub.d/00_header.in: Move check for the video backend of
|
||||
|
|
|
@ -626,14 +626,11 @@ static grub_err_t
|
|||
grub_netbsd_boot (void)
|
||||
{
|
||||
struct grub_netbsd_bootinfo *bootinfo;
|
||||
grub_uint32_t biosdev, unit, slice, part;
|
||||
|
||||
grub_bsd_get_device (&biosdev, &unit, &slice, &part);
|
||||
|
||||
if (kern_end + sizeof (struct grub_netbsd_btinfo_rootdevice)
|
||||
+ sizeof (struct grub_netbsd_bootinfo) > grub_os_area_addr
|
||||
+ grub_os_area_size)
|
||||
return grub_error (GRUB_ERR_OUT_OF_MEMORY, "No memory fo boot info.");
|
||||
return grub_error (GRUB_ERR_OUT_OF_MEMORY, "No memory for boot info.");
|
||||
|
||||
if (netbsd_root)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue