[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
help with powerpc asm (moving grub_ieee1275_entry_fn initialization to c
From: |
Robert Millan |
Subject: |
help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S) |
Date: |
Sun, 13 Jan 2008 20:12:51 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
For the i386-ieee1275 port, I'd need to move grub_ieee1275_entry_fn
initialization in powerpc from cmain.c to crt0.S, so that code in cmain.c
can be shared with i386.
The problem is I have no clue about powerpc assembler. On i386, this is
just done with a "movl %eax, EXT_C(grub_ieee1275_entry_fn)" but I don't know
the equivalent. Furthermore, the code in crt0.S seems to be pushing arguments
(up to 3 according to cmain.c) in a loop, which got me really confused.
Anyone who is familiar with powerpc assembler could have a look? See attached
patch.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
grub_ieee1275_entry_fn.diff
Description: Text Data
- help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S),
Robert Millan <=
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Robert Millan, 2008/01/15
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Pavel Roskin, 2008/01/17
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Robert Millan, 2008/01/17
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Pavel Roskin, 2008/01/17
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Robert Millan, 2008/01/17
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Pavel Roskin, 2008/01/17
- Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S), Robert Millan, 2008/01/19