mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2008-01-19 Robert Millan <rmh@aybabtu.com>
PowerPC changes provided by Pavel Roskin.
* kern/powerpc/ieee1275/cmain.c (cmain): Don't take any arguments.
* kern/powerpc/ieee1275/crt0.S: Store r5 in grub_ieee1275_entry_fn,
don't rely on cmain() doing it.
* kern/i386/ieee1275/startup.S (_start): Store %eax in
grub_ieee1275_entry_fn, don't rely on cmain() doing it.
This commit is contained in:
1 parent
1210e168fe
commit
5f5a7c1518
4 files changed
+19
-7
No files matched your search
@@ -1,7 +1,7 @@
|
||||
/* cmain.c - Startup code for the PowerPC. */
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2003,2004,2005,2006,2007 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc.
|
||||
*
|
||||
* GRUB is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -102,12 +102,10 @@ grub_ieee1275_find_options (void)
|
||||
}
|
||||
}
|
||||
|
||||
void cmain (uint32_t r3, uint32_t r4, uint32_t r5);
|
||||
void cmain (void);
|
||||
void
|
||||
cmain (UNUSED uint32_t r3, UNUSED uint32_t r4, uint32_t r5)
|
||||
cmain (void)
|
||||
{
|
||||
grub_ieee1275_entry_fn = (int (*)(void *)) r5;
|
||||
|
||||
grub_ieee1275_finddevice ("/chosen", &grub_ieee1275_chosen);
|
||||
|
||||
grub_ieee1275_find_options ();
|
||||
|
||||
Reference in new issue
Block a user