mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2008-04-18 Robert Millan <rmh@aybabtu.com>
Restructures early code path on ieee1275 to unify grub_main() as
the first C function that is executed in every platform.
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_init): New prototype.
* kern/i386/ieee1275/startup.S (_start): Jump to grub_main() instead of
cmain().
* kern/powerpc/ieee1275/crt0.S (_start): Likewise.
* kern/ieee1275/cmain.c (cmain): Rename to ...
* kern/ieee1275/cmain.c (grub_ieee1275_init): ... this.
* kern/ieee1275/init.c (grub_machine_init): Call grub_ieee1275_init()
at the beginning.
This commit is contained in:
1 parent
57490c2bd6
commit
602566f64a
6 files changed
+20
-9
No files matched your search
@@ -39,7 +39,7 @@
|
||||
start:
|
||||
_start:
|
||||
movl %eax, EXT_C(grub_ieee1275_entry_fn)
|
||||
jmp EXT_C(cmain)
|
||||
jmp EXT_C(grub_main)
|
||||
|
||||
/*
|
||||
* This call is special... it never returns... in fact it should simply
|
||||
|
||||
Reference in new issue
Block a user