ppc_oldworld: fix kernel_size and initrd_size sign
PATCH 1/1 ppc_oldworld: fix kernel_size and initrd_size sign
Anyone care to apply ?
I feel a bit /ignore-d :)
François.
------ Forwarded Message: ------
To: [email protected]
From: "François Revol" <[email protected]>
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.
ppc_oldworld.c (copie de travail) renamed from ppc_oldworld.c (révision 6368) +0 -0
@@ -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;Blue Swirl
AppliedQuoted 12 lines · François Revol
Anyone care to apply ?
I feel a bit /ignore-d :)
François.
------ Forwarded Message: ------
To: [email protected]
From: "François Revol" <[email protected]>
Subject: [PATCH]ppc_oldworld: fixkernel_sizeandinitrd_sizesign
Date: Mon, 19 Jan 2009 04:55:09 +0100 CET
Quoted 3 lines
both variables are declared unsigned but checked for < 0 in various places.
This ensures the fallbacks work.
Thanks, applied.
Quoted 7 lines
Quoted 7 lines
------ Forwarded Message: ------
To: [email protected]
From: "François Revol" <[email protected]>
Subject: [PATCH]ppc_oldworld: fixkernel_sizeandinitrd_size
sign
Date: Mon, 19 Jan 2009 04:55:09 +0100 CET
Quoted 6 lines
Quoted 4 lines
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.