qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
@ 2009-01-23 19:40 François Revol
  2009-01-24 12:00 ` Blue Swirl
  0 siblings, 1 reply; 3+ messages in thread
From: François Revol @ 2009-01-23 19:40 UTC (permalink / raw)
  To: qemu-devel

Anyone care to apply ?

I feel a bit /ignore-d :)

François.

------ Forwarded Message: ------
To: qemu-devel@nongnu.org
From: "François Revol" <revol@free.fr>
Subject: [PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
Date: Mon, 19 Jan 2009 04:55:09 +0100 CET

both variables are declared unsigned but checked for < 0 in various
places.
This ensures the fallbacks work.

François.

Signed-off-by: François Revol <revol@free.fr>
Index: hw/ppc_oldworld.c
===================================================================
--- hw/ppc_oldworld.c   (révision 6368)
+++ hw/ppc_oldworld.c   (copie de travail)
@@ -121,7 +121,8 @@
     m48t59_t *m48t59;
     int linux_boot, i;
     ram_addr_t ram_offset, vga_ram_offset, bios_offset,
vga_bios_offset;
-    uint32_t kernel_base, kernel_size, initrd_base, initrd_size;
+    uint32_t kernel_base, initrd_base;
+    int32_t kernel_size, initrd_size;
     PCIBus *pci_bus;
     MacIONVRAMState *nvr;
     int vga_bios_size, bios_size;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
  2009-01-23 19:40 [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign François Revol
@ 2009-01-24 12:00 ` Blue Swirl
  2009-01-24 12:29   ` François Revol
  0 siblings, 1 reply; 3+ messages in thread
From: Blue Swirl @ 2009-01-24 12:00 UTC (permalink / raw)
  To: qemu-devel

On 1/23/09, François Revol <revol@free.fr> wrote:
> Anyone care to apply ?
>
>  I feel a bit /ignore-d :)
>
>  François.
>
>  ------ Forwarded Message: ------
>  To: qemu-devel@nongnu.org
>  From: "François Revol" <revol@free.fr>
>  Subject: [PATCH] ppc_oldworld: fix kernel_size and initrd_size sign
>  Date: Mon, 19 Jan 2009 04:55:09 +0100 CET
>
>  both variables are declared unsigned but checked for < 0 in various
>  places.
>  This ensures the fallbacks work.

Thanks, applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and  initrd_size sign
  2009-01-24 12:00 ` Blue Swirl
@ 2009-01-24 12:29   ` François Revol
  0 siblings, 0 replies; 3+ messages in thread
From: François Revol @ 2009-01-24 12:29 UTC (permalink / raw)
  To: qemu-devel

> >  ------ Forwarded Message: ------
> >  To: qemu-devel@nongnu.org
> >  From: "François Revol" <revol@free.fr>
> >  Subject: [PATCH] ppc_oldworld: fix kernel_size and initrd_size
> > sign
> >  Date: Mon, 19 Jan 2009 04:55:09 +0100 CET
> >
> >  both variables are declared unsigned but checked for < 0 in
> > various
> >  places.
> >  This ensures the fallbacks work.
>
> Thanks, applied.

Thanks.

Still need to get OpenBIOS to do something with the Haiku loader
though...

François.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-24 12:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 19:40 [Qemu-devel] [RESENT][PATCH] ppc_oldworld: fix kernel_size and initrd_size sign François Revol
2009-01-24 12:00 ` Blue Swirl
2009-01-24 12:29   ` François Revol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).