platform_ops.malloc() vs. realloc()
Geert Uytterhoeven
Geert.Uytterhoeven at sonycom.com
Thu Feb 22 21:14:36 EST 2007
arch/powerpc/boot/ops.h has:
| /* Platform specific operations */
| struct platform_ops {
| void (*fixups)(void);
| void (*image_hdr)(const void *);
| void * (*malloc)(u32 size);
| void (*free)(void *ptr);
| void * (*realloc)(void *ptr, unsigned long size);
| void (*exit)(void);
| };
Is there a specific reason why the size parameters of malloc() and realloc()
differ in type?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven at sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
More information about the Linuxppc-dev
mailing list