2004-10-03 Hollis Blanchard <hollis@penguinppc.org>
* boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): change void * arguments to grub_addr_t. All callers updated. Also make the `result' argument optional. (grub_ieee1275_release): change void * arguments to grub_addr_t. All callers updated.
This commit is contained in:
parent
8a572cd742
commit
9f2220ef28
5 changed files with 27 additions and 17 deletions
|
@ -49,9 +49,7 @@ abort (void)
|
|||
void
|
||||
grub_machine_init (void)
|
||||
{
|
||||
void *mem;
|
||||
|
||||
if (grub_ieee1275_claim ((void *) 0x300000, 0x150000, 0, &mem) == -1)
|
||||
if (grub_ieee1275_claim (0x300000, 0x150000, 0, 0) == -1)
|
||||
abort (); /* Damn, we are in trouble! */
|
||||
|
||||
/* The memory allocations were copied from yaboot. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue