[PATCH] safety check in claim_heap()

2008-01-20 Thread Robert Millan
Hi! What do you think of adding this kind of checks? I know it's not a perfect safegard, but it can save your day in some situations (it helped me during i386/ieee1275 port, when link address was 0x10). -- Robert Millan I know my rights; I want my phone call! What use is a phone call… i

[PATCH] fix deadlock when probing USB deives on i386-ieee1275

2008-01-20 Thread Robert Millan
Fix deadlock when probing USB deives on i386-ieee1275. Detailed explanation is in patch itself (C comment). Comments? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * disk/ieee1275/ofdisk.c (grub_ofdisk_iterat

Re: hfs breakage

2008-01-20 Thread Pavel Roskin
On Sat, 2008-01-19 at 15:12 +0800, Bean wrote: > I think i figure out the problem, please try the following patch. It's working. Thank you! -- Regards, Pavel Roskin ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinf

Re: [PATCH] memdisk plus lnxboot extension

2008-01-20 Thread Robert Millan
On Sun, Dec 30, 2007 at 02:48:24PM +0100, Robert Millan wrote: > On Sat, Dec 29, 2007 at 05:05:16PM +0800, Bean wrote: > > Hi, > > > > This patch is based on robert's memdisk patch. I also modify lnxboot > > so that it can load the memdisk using initrd. Changes: > > I'd really like to keep this s

Re: embedding filesystems in core image (Re: moving ata initialisation to a command)

2008-01-20 Thread Robert Millan
On Wed, Jan 16, 2008 at 09:10:30PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Sat, Dec 22, 2007 at 01:24:53PM +0100, Yoshinori K. Okuji wrote: > >> On Saturday 22 December 2007 13:18, Robert Millan wrote: > >> > Here's a new patch, with some cleanup. The main

Re: nested functions used by multiboot2 loader corrupt stack

2008-01-20 Thread Robert Millan
On Thu, Jan 17, 2008 at 11:47:50PM +0800, Bean wrote: > > Embedded function used %ecx to store the pointer to it's parent's > stack. However, the program is compiled using option -mregparm=3, > which means it can use up to 3 registry to pass parameter.In > grub_elf32_load_segment, there are three

[PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-20 Thread Robert Millan
This makes multiboot2 work on i386-ieee1275. Tested both with elf32 and elf64 images. In case of elf32 OFW images, they won't work because EAX is used for multiboot information and can't hold the needed pointer to OFW callback interface. See the comment I added to the draft: http://grub.enb