public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* platform_ops.malloc() vs. realloc()
@ 2007-02-22 10:14 Geert Uytterhoeven
  2007-02-22 10:25 ` David Gibson
  2007-02-22 10:31 ` Segher Boessenkool
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2007-02-22 10:14 UTC (permalink / raw)
  To: Linux/PPC Development


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@sonycom•com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium

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

end of thread, other threads:[~2007-02-22 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22 10:14 platform_ops.malloc() vs. realloc() Geert Uytterhoeven
2007-02-22 10:25 ` David Gibson
2007-02-22 10:31 ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox